Review: Functions


I have no idea why this messgae keeps popping up. I've reviewed the other dicussions on this lesson and can't see what is wrong. Please help!

Oops, try again. Did you create a function called shut_down?

def shut_down(s):
    if s == "yes":
        return "shutting down"
    elif s == "no":
        return "shutdown aborted"
        return sorry


sorry is not defined


Thanks rydan! really appreciate it.


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