Skip to content

Instantly share code, notes, and snippets.

@daythatidie
Created May 14, 2019 14:17
Show Gist options
  • Save daythatidie/25d46e39c15bb988a4d0c917d57f5006 to your computer and use it in GitHub Desktop.
Save daythatidie/25d46e39c15bb988a4d0c917d57f5006 to your computer and use it in GitHub Desktop.
# ----------- 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