Skip to content

Instantly share code, notes, and snippets.

@ImOmkar
Created August 16, 2018 18:43
Show Gist options
  • Save ImOmkar/d79e615b796e144a709a8d1985805ec6 to your computer and use it in GitHub Desktop.
Save ImOmkar/d79e615b796e144a709a8d1985805ec6 to your computer and use it in GitHub Desktop.
Check whether the number is even or odd.
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