Created
June 5, 2016 14:47
-
-
Save cjshaw1976/248e87efdcb0239ffb03a438bf91e100 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
number = int(input("Enter an integer number: ")) | |
if number % 2 == 0: | |
if number % 4 ==0: | |
print("Your number {} is an even number and is also divisable by 4.".format(number)) | |
else: | |
print("Your number {} is an even number.".format(number)) | |
else: | |
print("Your number {} is an odd number.".format(number)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment