SHARE
TWEET

Untitled

a guest Jun 19th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n = int(input())
  2.  
  3. a = n // 60
  4. b = 0
  5. c = 0
  6. n = n % 60
  7.  
  8. if n >= 35:
  9.     a = a + 1
  10. else:
  11.     b = n // 10
  12.     n = n % 10
  13.     if n >= 9:
  14.         b = b + 1
  15.     else:
  16.         c = n
  17.        
  18. print(c, b, a)
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top