Review: Functions


#1



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


Your function failed on the message no. It returned 'Shoutdown aborted' when it should have returned 'Shutdown aborted'


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


#2

Hi @nish147,

This is the statement that returned "Shoutdown aborted" instead of "Shutdown aborted" ...

    return "Shoutdown aborted"

#3

Hi @appylpye Thank you so much!:smile:


#4