I've been trying to complete this exercise for the best part of a month now, but I always get the same reference error:
Oops, try again. Your shut_down function threw the following error: maximum recursion depth exceeded in cmp
Here the exercise is:
and here my code is:
def shut_down(s): if shut_down(s == "yes"): return "Shutting down" elif shut_down(s == "no"): return "Shutdown aborted" else: return "Sorry"