Last active
August 29, 2015 14:05
-
-
Save danhyun/544e6b8977b9b9109133 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| input = raw_input("even or odd? ") | |
| while input.lower() not in ['even', 'odd']: | |
| print "I said even or odd!" | |
| input = raw_input("even or odd? ") | |
| print "Good, you chose %s" % input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment