Skip to content

Instantly share code, notes, and snippets.

@JayeshTiwari03
Created February 22, 2018 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JayeshTiwari03/7609d21f4142a9eee6f903724b8e72e2 to your computer and use it in GitHub Desktop.
Save JayeshTiwari03/7609d21f4142a9eee6f903724b8e72e2 to your computer and use it in GitHub Desktop.
Odd or Even
num = int(input("Give me a number"))
if num %2==0:
print ("Even")
else:
print ("Odd")
if num%4==0:
print ("Mult of 4")
else:
print ("Normal Number")
number = int(input("Insert some number"))
check = int(input("Insert one more number"))
if number/check == 1:
print ("Congrats, you just won a lottery")
else:
print ("Nevermind")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment