You are given a positive integer N. Your task is to find the number of positive integers K <= N such that K is not divisible by any of the following numbers 2, 3, 4, 5, 6, 7, 8, 9, 10.
int(inpu)t=,11,12,200,10
N=int(input("Please input a positive integer: "))
Num=0
for K in range (1,N+1):
  if (N%K==0):
    Num +=1
print(Num)
Comments
Leave a comment