Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = int(input("Enter number you want checked: "))
- check = int(input("Enter number it want it checked against: "))
- if (num % 4) == 0:
- print("Your number is a multiple of 4 and even.")
- elif (num % 2) == 0:
- print ("Your number is even.")
- else:
- print ("Your number is odd.")
- if (num % check) == 0:
- print(str(check) + " divides evenly into " + str(num) + ".")
- else:
- print(str(check) + " does not divide evenly into " + str(num) + ".")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement