17. Review: Functions
I get the following error (no error appears in the console, only in the red pop-up box):
Oops, try again. Your shut_down function threw the following error: maximum recursion depth exceeded
Thanks in advance for your help!
Here is the code I was submitting
def shut_down(s): if shut_down('yes'): return 'Shutting down' elif shut_down('no'): return 'Shutdown aborted' else: return 'Sorry'