I cant see where i have gone wrong with my code here.
I think that yes and no should be in quotes.
@dawidrz87 Thanks that works
You can remove () between s, with if and elif.
This is my code:
if (s) == "yes": return "Shutting down" elif (s) == "no": return "Shuhtdown aborted" else: return "Sorry"
Oops, try again. Did you create a function called shut_down
Should work but i am still getting the folloewing error can any one advise?
you typed it incorrectly
Thanks!!! that solve my problem
A post was split to a new topic: Shutdown issues
A post was merged into an existing topic: Shutdown issues