Advertisement
Guest User

Untitled

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