Uncommon Number
Given a number
The first line of input is an integer
The output should be a single line containing
In the given example,
N = 5633 the number is not divisible by 2, 3, 5, 7. So, the number is an uncommon number.Therefore, the output should be
True.
N=int(input("Enter a number: "))
if (N%2==0 or N%3==0 or N%5==0 or N%7==0):
print("False")
else:
print("True")
Comments
Leave a comment