Created
May 14, 2019 14:17
-
-
Save daythatidie/25d46e39c15bb988a4d0c917d57f5006 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
# ----------- Exercise 2 | |
number = int(input('Enter number: ')) | |
if number % 4 == 0: | |
print('Multiple to 4') | |
elif number % 2 == 0: | |
print('Even') | |
else: | |
print('Odd') | |
num = int(input('Enter num: ')) | |
check = int(input('Enter check: ')) | |
if num % check == 0: | |
print('Divides evenly') | |
else: | |
print('Does not divides evenly') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment