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