In the error box is says:

Oops, try again.

Your function fails on is_prime(0). It returns True when it should return False.

I do not know what is going wrong. I'd expect it to go through numbers 2 to the number before x, then check those numbers if they are divisible by i (The changing number).

I would appreciate help!

```
def is_prime(x):
for i in range(2, x):
if x % i == 0:
return False
else:
return True
```