Functions 2


Here is my code for question 2 in Functions:

Defina sua funcao spam, comecando na linha 5. Voce

pode deixar o codigo na linha 11 de lado por enquanto -- vamos

explica-lo logo!

def spam():
"""Prints 'Eggs!' to the console."""
print "Eggs!"

Defina a funcao spam acima desta linha.


The answer prints "Eggs!" correctly to the console but when I submit it comes back with: "Oops, try again. Make sure that your function displays "Eggs!" on the island!"

I have tried to refresh the brower, etc. and nothing changes



On the island?
Have you tried to execute the code in another browser of even in another site like - Python?