I'm trying to figure out what's wrong with my code. I tested my code on Codecademy Labs
to see if it was just a glitch with the page I'm on, but I get the same error , too.
Help would be greatly appreciated.
def shut_down(s): if s == "yes": return "Shutting Down" elif s == "no": return "Shutdown aborted" else: return "Sorry"
Here's my error message:
File "python", line 4
return "Shutting Down"
IndentationError: expected an indented block
I added those underlines in the error code so you can see where the arrow below return exactly was.