Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import math
- num = int(input("Please enter a number:"))
- check = int(input("Enter checking number:"))
- if num%4 == 0:
- print(str(num) +" is multiple of 4")
- if num&1 == 0:
- print(str(num) + " is an even number")
- else:
- print(str(num) + " is a odd number")
- if num%check == 0:
- print(str(num) +" is divisible by "+str(check))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement