Skip to content

Instantly share code, notes, and snippets.

@0x49D1
Created September 7, 2016 17:17
Show Gist options
  • Save 0x49D1/11dda3edbfd64c01c7fb2ce5bc536943 to your computer and use it in GitHub Desktop.
Save 0x49D1/11dda3edbfd64c01c7fb2ce5bc536943 to your computer and use it in GitHub Desktop.
Even or Odd?
entered_number = int(input("Enter the number and i will tell you is it EVEN or ODD\n"))
if entered_number % 2 == 0:
if entered_number % 4 == 0:
print("Its EVEN, but also /4!")
else :
print("You've entered EVEN number!")
else:
print("You've entered ODD number!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment