I am new to this community but finding it interesting so far. I just want to understand while my code is throwing up an error message. i will appreciate any help.

Oops, try again. Your function fails on is_prime(9). It returns True when it should return False.

```
def is_prime(x):
if x < 2:
return False
elif x == 2 or x == 3:
return True
else:
for number in range(2, x - 1):
print range(2, x)
if x % number == 0:
return False
else: return True
print is_prime(4)
```

I will appreciate any help here!