Created
November 1, 2013 17:21
-
-
Save micaleel/7268726 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def shut_down(s): | |
if s.upper() == "YES": | |
return "Shutting down" | |
elif s.upper() == "NO": | |
return "Shutdown aborted" | |
else: | |
return "Sorry, I don't understand you." | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment