Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.62 KB | None | 0 0
  1. #0x14
  2. town_pop = int(input("town pop: "), 10)
  3.  
  4. #0x15
  5. houses = int(input("how many houses?: "), 10)
  6.  
  7. #0x17
  8. ticks_31_days = 2294
  9.  
  10. #0x12
  11. food_consumed = town_pop / 5 * 256 / ticks_31_days
  12.  
  13. #0x11
  14. bdmt_consumed = houses / 5 * 256 / ticks_31_days
  15.  
  16. #0x16
  17. bdmt_boost = food_consumed * 100 * _doesnotmakesense / houses * 5 / 100
  18.  
  19. #cargo_produced
  20. cargo_produced = 10 + food_consumed + bdmt_boost
  21.  
  22. print ("Amount of food consumed: " + str(food_consumed))
  23. print ("Amount of bdmt consumed: " + str(bdmt_consumed))
  24. print ("Amount of bdmt boost: " + str(bdmt_boost))
  25. print ("Amount of cargo produced: " + str(cargo_produced))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement