Error message wrong?


#1





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"
    else: 
        return "Sorry"
        

print shut_down("yes")


#2

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


#3

ah! thanks very much :smirk:


#4

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