# contract: spam1: void -> void # purpose: print I LIK SPAM to the screen 10 times # example: see purpose def spam1(): # initialize my counter count = 0 # print message 10 times while (count < 10): print "I LIKE SPAM!" # increment the counter count = count + 1