Created
August 16, 2018 18:43
-
-
Save ImOmkar/d79e615b796e144a709a8d1985805ec6 to your computer and use it in GitHub Desktop.
Check whether the number is even or odd.
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
n=int(input("Enter the number :\n")) | |
if(n%2==0): | |
print("The number",n,"is Even number") | |
else: | |
print("The number",n,"is Odd number") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment