Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # deg2radpi.py
- import math
- z = 0
- incr = 5
- while z < 360 + incr:
- print('{} degrees = {} radians'.format(z, abs(math.radians(z)-math.pi)))
- z += incr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement