Created
February 22, 2018 14:04
-
-
Save JayeshTiwari03/7609d21f4142a9eee6f903724b8e72e2 to your computer and use it in GitHub Desktop.
Odd or Even
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
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