def word(monty):
    print (monty+"rocks!")
    
for monty in ("spam ","eggs "):
    word(monty)
#rather than writing a bunch of garbage out, we can just use a for loop. pretty groovy.
#another one:

def multi(x):
print (x*3)

for x in (3,4,5,6):
multi(x)
