I need help on python Lesson:Functions no.17


#1

here is my code:

def shut_down(s):
if s == "yes":
return "Shutting down"
elif s == "no":
return "Shutdown aborted"
else:
return "Sorry"


#2

Hi what the problem?


#3

i don't know
what is wrong


#4

can you give me the correct code


#5

You have the correct code, just missing (required) the indentation.


#7