Function Junction!


I am stuck on the bloody function junction! Can somebody advise on where i have gone wrong here please?
I have included the triple quotes for my comment but it keeps coming back with the same error.

File "python", line 6
"""Going slightly mad trying to get this to work!"""
IndentationError: expected an indented block

# 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():
"""Going slightly mad trying to get this to work!"""

# Define the spam function above this line.


function content (like the comment and printing eggs) requires indention which you can achieve with tab or spaces


Try using "Eggs!" It might not work because of the quotes


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