Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. if days >= 21900:
  2.     time_factor = 0.1
  3. elif 700 <= days < 21900:
  4.     time_factor = 1 - 0.9 * days / 21900
  5. elif 1 <= days < 700:
  6.     time_factor = 1.5 - 0.5 * days / 700
  7. else:
  8.     time_factor = 1.5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement