Oops, try again. Your function failed on the message yes. It returned 'yes' when it should have returned 'Shutting down'


def shut_down(s):
return s
if shut_down():
shut_down("Shutting down")
elif shut_down():
shut_down("Shutdown aborted")


Your control flow is all over the place. :sweat_smile:


come after if or else statements.
function call's

come after the functoon is defined and have a zero level indentation. :slight_smile:


Can you provide a link?


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