Guest User

Untitled

a guest
Dec 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. num = int(input("Enter any number"))
  2. check = int(input("Enter another number"))
  3.  
  4. if num % 4 == 0:
  5. print num," is a multiple of 4"
  6. elif num % 2 == 0:
  7. print num, " is even"
  8. else:
  9. print num," is odd"
  10.  
  11. if num % check == 0:
  12. print num, " and ", check ,"divides evenly"
  13. else:
  14. print num, " and ", check ,"do not divide evenly"
Add Comment
Please, Sign In to add comment