Function Junction. Yes, I am having issues here


#1



To print "Eggs!", yet this is not happening for reasons I don't understand.

# Define your spam function starting on line 5. You
# can leave the code on line 11 alone for now--we'll
# explain it soon!

def spam():
    """The cake is a lie"""
    print "Eggs!"

# Define the spam function above this line.


#2

Did you try calling the function?

spam()

#3

That makes a syntax error, and nothing else changes


#4

Did you change this line?

"""What goes best with Spam?"""

#5

Yes. I even copy and pasted the """What goes best with Spam?""" from your reply.


#8

There is not much a person can do wrong with this exercise. Perhaps try resetting and do it over. Be sure to leave all the provided code as is.


#9

Realised what I did wrong later. I had deleted spam() at the end of the code, out of habit. Didn't seem like it had much purpose to me.


#10

The instructions were pretty clear about leaving that line alone.


#11

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.