Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = int(input("Enter a number: "))
- if num % 2 == 0 and num % 4 == 0:
- print(num,'is an even number and a multiple of 4.')
- elif num % 2 == 0:
- print(num, 'is an even number.')
- else:
- print(num, 'is an odd number.')
- print()
- print()
- num = int(input("Enter a number: "))
- check = int(input("Enter another number: "))
- if num % check == 0:
- print(check, 'divides evenly into', num)
- else:
- print(check, 'does NOT divides', num, 'evenly.')
Add Comment
Please, Sign In to add comment