What parameter do I need?


#1

I have written this code for 17. Review: Functions

def shut_down(s):
s = s.lower(s)
if s == "yes":
return "Shutting down..."
elif s == "no":
return "Shutdown aborted!"
else:
return "Sorry, I didn't understand you."

But when I press save & submit code it comes up with:
Oops, try again. Your shut_down function should take one parameter.
What parameter?


#2

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


#3

No, it dosen't work for some reason, never mind, i'll figure it out