Review: Fumctions


#1

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

Oops, try again.
Your function failed on the message no. It returned 'Shutdown aborted.' when it should have returned 'Shutdown aborted'

I expected the function to work.

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

#2

Wait, I found the issue... XD I must be blind!


#3

yep, Shutdown aborted is without full stop. Good you found it