Created
September 7, 2016 17:17
-
-
Save 0x49D1/11dda3edbfd64c01c7fb2ce5bc536943 to your computer and use it in GitHub Desktop.
Even or Odd?
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
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