print("I can count to 10:") number = 1 while number <= 10: print(number) number = number + 1 print("Here's the 5 times table:") number = 5 multiplier = 1 while multiplier <= 12: result = multiplier * number print(multiplier, "times", number, "=", result) multiplier = multiplier + 1 print("Countdown to launch:") count = 10 while count > 0: print(count) count = count - 1 print("BLAST OFF!") import random print("Troll attack:") health = 1000000 print("You are attacked by a troll!") print("Your health:", health) while health > 0: print("The troll swings his axe") damage = random.randint(5, 20) health = health - damage print("You take", damage, "damage") print("Your health:", health) print("You are DEAD!")