Cannot figure out where I am messing this up. Hope some can help and even elaborate on best practices for functions in python.
Oops, try again. Your function failed on the message yes. It returned 'yes' when it should have returned 'Shutting down'
output need to be as intended
def shut_down(s): return s if s == yes: shut_down("Shutting down") elif s == no: shut_down("Shutdown aborted") else: return "Sorry"