Advertisement
ThaWade

seven_days_score_counter

Jan 3rd, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.51 KB | None | 0 0
  1. #7 Days to Die Score Counter
  2.  
  3. kills = input("How many zombies have you killed? ")
  4. int_kills = int(kills)
  5.  
  6. deaths = input("How many times have you died? ")
  7. int_deaths = int(deaths)
  8.  
  9. reduce_score = 0
  10.  
  11. for counter in range(1, int_deaths + 1):
  12.     reduce_score = reduce_score + 5
  13.     print(str(counter)+") "+str(reduce_score))
  14.  
  15. print("Your starting score was "+kills)
  16. print("Your score penalty for deaths was "+str(reduce_score))
  17. finalScore = int_kills - reduce_score
  18. print("Your final score is "+str(finalScore))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement