Error message wrong?


my error message says this --> Oops, try again. Your function failed on the message yes. It returned 'Shuttting down' when it should have returned 'Shutting down'
please tell me what this means!

Replace this line with your code. 

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

print shut_down("yes")


Remove the extra t in Shutting Down you wrote Shu ttt ing Down Instead of, Shu tt ing Down,


ah! thanks very much :smirk:


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