Convert theta to radians

I dont know how to Convert theta to radians

by theta you mean degrees, right?
if so, there’s already a built-in function in the ‘math’ library.

degrees to radians:
math.rad(degrees)

radians to degrees:
math.deg(radians)