Need help with this exercise please


#1



"""https://www.codecademy.com/courses/python-beginner-c7VZg/1/1?curriculum_id=4f89dab3d788890003000096# """


"""
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!).
SOLUTION 
def spam():
    """ Print 'Eggs!'on console"""
    print spam


#2

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!'

#3

it actually did work!! thanks


#4

You're welcome :grin:


#5

have a nother question please


#6

sorry figured it out any way


#7

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