Quotes help make search much faster. Example: "Practice Makes Perfect"

Saturday, November 24, 2012

Codecademy: "I Got 99 ..."


#sample solution


#Write your two "elif" statements below!
answer = "I like Spam!"

def feelings_about_spam():
    if answer == "I hate Spam!":
        return False
    elif answer == "I like Spam!": #Fill in your `elif` statement here!
        return True                #Make sure `elif` returns `True`
    else:
        return False

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts