Skip to content

Instantly share code, notes, and snippets.

@rjshekar90
Created May 4, 2016 06:46
Show Gist options
  • Save rjshekar90/d5fdb5e48e1395cb49a01a3a0a778fb4 to your computer and use it in GitHub Desktop.
Save rjshekar90/d5fdb5e48e1395cb49a01a3a0a778fb4 to your computer and use it in GitHub Desktop.
# Odd or Even
# -*- coding: utf-8 -*-
# Odd or Even
no = int(raw_input("Enter the number >>> "))
if no % 2 == 0:
print "It is a even number"
else:
print "It is odd number"
if no % 4 == 0:
print "It is a multiple of 4"
else:
print "Not a multiple of 4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment