Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- angles = [0, 90, 180, 270, 360]
- print("The list of angles are: " + str(angles))
- #radians = []
- count = -4
- for angle in angles:
- if count % 2 != 0:
- print("The angle value of "+str(angle)+" has sine value of "+str(round(math.sin(angle), 0)))
- else:
- print("The radian value of "+str(angle)+" has cosine value of "+str(round(math.cos(angle), 0)))
- count = count + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement