Hey there, mates. I'm having issues in the Review: Functions. It's been maybe four days (big break) since I've coded a bit, but I know I remember almost all I've been taught.
However, I get this message: File "python", line 4
SyntaxError: 'return' outside function
I expected the code to work correctly as I had followed what I know, but I am incorrect. But on what?
Replace this line with your code. def shut_down(s): return s if s == "yes": return "Shutting down" elif s == "no": return "Shutdown aborted" else: return "Sorry"