Advertisement
WitchBlade

//

Oct 24th, 2019
562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. lol = int(input()) #считываем
  2. kek = 480+30 #
  3. pi = 45
  4. lox = 10
  5. if(lol==1):
  6.    mf=kek+pi
  7. else:
  8.    mf=kek+pi+(lol-1)*(pi+lox)
  9. hour=mf // 60
  10. minut=mf % 60
  11. print(hour,'-',minut)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement