Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def round_minutes(t):
- if t >= 0 and t <= 7:
- return 0.0
- elif t >= 8 and t <= 22:
- return 0.25
- elif t >= 23 and t <= 37:
- return 0.50
- elif t >= 38 and t <= 52:
- return 0.75
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement