17:Review: Functions


#1



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

Oops, try again. Your shut_down function should take one parameter.


Replace this line with your code. 
def shut_down(s):
    if shut_down():
        s=="yes"
        return "Shutting down"
    elif s:
        s=="no"
        return "Shutdown aborted"
    else:
            return "Sorry"


#2

Your if elif looks a little bit off...

if s == "yes":

#3

def shut_down(s):
if s=="yes":
return "Shutting down"
elif s=="no":
return "Shutdown aborted"
else:
return "Sorry"

got a little confused had to check back onwards and forwards i guess


#5