Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- multNum = int(input('Please enter a non negative integer: '))
- while multNum < 0:
- multNum = int(input('Please enter a non negative integer: '))
- if (multNum%3 == 0) or (multNum%5 ==0):
- if not ((multNum%3 == 0) and (multNum%5 == 0)):
- print("True")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement