Advertisement
Spocoman

02. Centuries to Minutes

Jan 17th, 2022
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. centuries = int(input())
  2. years = centuries * 100
  3. days = int(years * 365.2422)
  4. hours = days * 24
  5. minutes = hours * 60
  6.  
  7. print(f'{centuries} centuries = {years} years = {days} days = {hours} hours = {minutes} minutes')
  8.  
  9.  
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement