Created
May 30, 2018 18:58
-
-
Save calthoff/75c61a0bbdaebf56e4b45bd7a04203e9 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
| n = 12 | |
| if n % 2 == 0: | |
| print("n is even.") | |
| else: | |
| print("n is odd.") | |
| n = 11 | |
| n = int(n) | |
| if n % 2 == 0: | |
| print("n is even.") | |
| else: | |
| print("n is odd.") | |
| n = 10 | |
| n = int(n) | |
| if n % 2 == 0: | |
| print("n is even.") | |
| else: | |
| print("n is odd.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment