Review Funcitons


#1

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

Error message: Oops, try again. Your function failed on the message yes. It returned 'Sorry' when it should have returned 'Shutting down'

I cannot get passed this exercise.

def shut_down(s):

    if shut_down == "Yes":
        return "Shutting down"
    elif shut_down == "no":
        return "Shuttingdown aborted"
    else:
        return "Sorry"
shut_down("Yes")


#2

@martinez.i.marcelogm
Read the instruction carefully.....

02. Then, if the shut_down function receives an s equal to "yes",
       it should return "Shutting down"
03. Alternatively, elif s is equal to "no", 
      then the function should return "Shutdown aborted".