Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. infantry_battalions = raw_input("Number of infantry battalions: ")
  2.  
  3. infantry_level = raw_input("Infantry Equipment Level: ")
  4.  
  5. artillery_battalions = raw_input("Number of artillery batallions: ")
  6.  
  7. artillery_level = raw_input("Artillery Level: ")
  8.  
  9. light_tank_battalions = raw_input("Number of light tank batallions: ")
  10.  
  11. light_tank_level = raw_input("Light tank Level: ")
  12.  
  13.  
  14.  
  15.  
  16.  
  17. if infantry_level == 1:
  18.  
  19. infantry_cost = 0.4
  20.  
  21. print infantry_cost
  22.  
  23.  
  24.  
  25. if (artillery_level == 1):
  26.  
  27. artillery_cost = 3.5
  28.  
  29. print artillery_cost
  30.  
  31.  
  32.  
  33. if (light_tank_level == 1):
  34.  
  35. light_tank_cost = 8
  36.  
  37. print light_tank_cost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement