Created
March 29, 2020 16:13
-
-
Save Deep18-03/17d59314ff4568500fb78b308bfda605 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
num=int(input('enter the first number')) | |
num1=int(input('enter the second number')) | |
def oddeven(num): | |
if num%2==0: | |
print('it is a even number') | |
elif num%4==0: | |
print('it is divisible by 4') | |
else: | |
print('it is a odd number') | |
def div(num,num1): | |
if num1%num==0: | |
print('it divides evenly') | |
else: | |
print(num, "does not divide evenly by", num1) | |
oddeven(num) | |
div(num,num1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment