Skip to content

Instantly share code, notes, and snippets.

@prakashgd
Last active July 30, 2016 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prakashgd/838c081d66b5a9a70eda36e481484a83 to your computer and use it in GitHub Desktop.
Save prakashgd/838c081d66b5a9a70eda36e481484a83 to your computer and use it in GitHub Desktop.
num = int(raw_input("Enter number: "))
if num % 2 == 0 and num % 4 != 0:
print '%d is Even number' % num
elif num % 4 == 0:
print '%s is multiples of Four' % num
else:
print '%d is odd number' % num
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment