Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Quick calculator for Leftovers numbers.
- # Written by ProjectTitan313
- #
- # --- Changelog ---
- #
- # 11/9/2012: Initial program, still wearing diapers.
- # A few derps later, it works fine. Whee
- # Usual modules imported; may or may not actually need them.
- import math
- import time
- # Variables defined.
- HealthAmount = 0
- LeftoverNumber = []
- HealthRegen = 0
- # Yep, the intro no one actually likes.
- time.sleep(2)
- print ("Leftovers Number Calculator by ProjectTitan313")
- print ("Enter anything to continue.")
- input()
- # Loop to calculate Leftovers numbers and add them to a list defined above.
- while HealthRegen < 44:
- HealthRegen += 1
- RegenCount = HealthRegen
- HealthAmount = RegenCount * 16
- LeftoverNumber.append(HealthAmount)
- # End of loop. Prints out the list now that its calculated every possible HP
- # value for maximum Leftovers recovery.
- print ("Leftovers numbers are:")
- print (LeftoverNumber)
Advertisement
Add Comment
Please, Sign In to add comment