How to use the degrees() and radians() methods in Python

1 Answer

0 votes
import math

print(math.degrees((math.pi / 2)))

print(math.radians(60))




'''
run:

90.0
1.0471975511965976

'''

 



answered Nov 30, 2022 by avibootz

Related questions

1 answer 156 views
1 answer 234 views
1 answer 212 views
3 answers 287 views
1 answer 103 views
103 views asked Aug 11, 2024 by avibootz
1 answer 118 views
118 views asked Aug 11, 2024 by avibootz
1 answer 120 views
...