17/19 Why does the function never get called again after being defined?


#1

The code I had was using
if s == yes:
'indent' return shut_down("Shutting down")

However that is not correct. Why is the shut_down function never called after it is defined?


#2

Not sure I follow your question. Are you calling the function?

print shut_down("yes")

Be sure to wrap quotation marks around string values. yes is a variable name. "yes" is a string.

if s == "yes"