Hi Everyone,

My code (below) returns this error message:

*Does your is* prime function take exactly one argument (an integer)? Your code threw a "'int' object is not iterable" error._

Please help me...thanks...is it my indentation?

def is_prime(x):

for n in x:

while n < x-1:

n = 2

n +=1

if x%n == 0:

return False

else:

return True