desislava_topuzakova

02. Radians to Degrees

Mar 9th, 2021
708
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. # 1. радиани -> конзолата
  2. # 2. градуси = радиани * 180 / пи
  3. # 3. отпечатваме градусите -> math.floor
  4. import math
  5. radians = float(input())
  6. degrees = radians * 180 / math.pi
  7. print(math.floor(degrees))
Advertisement
Add Comment
Please, Sign In to add comment