endzie_fyrge

[5] Radians to Degrees Converter

Jun 24th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. radians = float(input("Enter the radians that you want coverted: "))
  2.  
  3. degrees = radians * (180 / 3.14)
  4. minutes = (degrees % 1) * 60
  5. seconds = (minutes % 1 ) * 60
  6.  
  7. print(f"Your converted input is: {degrees} {minutes} {seconds}")
Add Comment
Please, Sign In to add comment