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 multiplyer in range(1,13) : result = multiplyer*number print( multiplyer, "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!")