snap shot for code the python program to check prime number in list of number consider 55 and 25 as prime number which is actually not prime because 55/5=11 and reminder is zero so what problem in code
def check_prime(n):
for i in range(2,n,1):
if(n%i)==0:
return 1
else :
return 0
numbers=[51,52,53,54,55,13,407,508,11,17,60,12,19,25,30,]
for j in numbers:
if check_prime(j)==1:
print("the {} is not prime".format(j))
else:
print("th {} is prime".format(j))