Need help with this exercise please


""" """

None """

instruction for the exercise : Go ahead and create a function, spam, that prints the string "Eggs!" to the console. Don't forget to include a comment of your own choosing (enclose it in triple quotes!).
def spam():
    """ Print 'Eggs!'on console"""
    print spam


Your function should print Eggs! not have Eggs! inside a comment :sweat_smile:

though your code will work if you modify the print statement and remove the ' ' around Eggs in the comment

def spam():
    """ Print Eggs! on console"""
    print 'Eggs!'


it actually did work!! thanks


You're welcome :grin:


have a nother question please


sorry figured it out any way


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