Where am I going wrong here?

Oops, try again. Does your is_prime function take exactly one argument (an integer)? Your code threw a “‘int’ object is not iterable” error.

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