Created
September 18, 2016 06:21
-
-
Save SudhenduP/2f10a392148041b0e74dd92fc1d8823d to your computer and use it in GitHub Desktop.
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
num1 = input('Please enter the number') | |
num2 = input('Even the divisor') | |
if num1%2 == 0: | |
print'Number is even' | |
else: | |
print'Number is odd' | |
if num1%4 == 0: | |
print'The number is divisible by 4' | |
else: | |
print'Number is not divisble by 4' | |
if num1%num2 == 0: | |
print'Num1 gets divided by Num2 and hence it is even' | |
else: | |
print'Num1 is not an even number' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment