```
def is_prime(x):
for n in x:
if n % 2 == 0 or n < 2:
return False
elif n == 2:
return True
else:
return True
```

How can i solved it plz help me

```
def is_prime(x):
for n in x:
if n % 2 == 0 or n < 2:
return False
elif n == 2:
return True
else:
return True
```

How can i solved it plz help me

`x`

is an integer, which is not iterable. A range from 2 to x is iterable.

So far, your code only elliminates even numbers.