Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = rawinput("Shall we shutdown? yes/no")
- def shut_down(s):
- if s.lower == yes:
- return "shutting down"
- elif s.lower == no:
- return "shutdown was aborted"
- else:
- return "clarify"
- print shut_down()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement