HARRISBURG, Pa. (WHTM) – Pennsylvania high school students who take computer science and information technology courses will be able to use the credits to satisfy graduation requirements in math or science.

The legislation is included in the state Education Code approved by the House and Senate and signed by Gov. Tom Wolf this week.

Co-sponsor Rep. Dan Truitt (R-Chester) says few students take Advanced Placement courses in computer science because they’re generally considered an elective, even though the courses are math and science intensive.

He said the legislation doesn’t require public schools to offer computer science courses, and it doesn’t require students to take them.

Each school will determine whether the courses fulfill a math credit or as a science credit.Get breaking news, weather and traffic on the go. Download the ABC27 News App and the ABC27 Weather App for your phone and tablet.