In the Hint section it says I should use return instead of print but then I got the following problem.
"syntaxError: 'return' outside function.
My question is what does it mean when I get this error, I tried to import it as I was thought that earlier in the Section. Help would be appreciated.
from python import * def shut_down(s): return s if shut_down() == yes : return s("Shutting down") elif shut_down() == no : return ("Shutdown aborted") else: return ("Sorry")