Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. def round_minutes(t):
  2. if t >= 53 and t <= 59:
  3. return 1.0
  4. elif t >= 0 and t <= 7:
  5. return 0.0
  6. elif t >= 8 and t <= 22:
  7. return 0.25
  8. elif t >= 23 and t <= 37:
  9. return 0.50
  10. elif t >= 38 and t <= 52:
  11. return 0.75
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement