Advertisement
Spocoman

02. Radians to Degrees

Nov 30th, 2021
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. Първо решение:
  2.  
  3. import math
  4.  
  5. radians = float(input())
  6. degrees = radians * 180 / math.pi
  7. print(degrees)
  8.  
  9.  
  10. Второ решение:
  11.  
  12. from math import pi
  13.  
  14. radians = float(input())
  15. degrees = radians * 180 / pi
  16. print(degrees)
  17.  
  18.  
  19. Тарикатско решение:)
  20.  
  21. from math import pi
  22.  
  23. print(float(input()) * 180 / pi)
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement