Skip to content

Instantly share code, notes, and snippets.

@cjshaw1976
Created June 5, 2016 14:47
Show Gist options
  • Save cjshaw1976/248e87efdcb0239ffb03a438bf91e100 to your computer and use it in GitHub Desktop.
Save cjshaw1976/248e87efdcb0239ffb03a438bf91e100 to your computer and use it in GitHub Desktop.
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