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

I don't understand why it fails on is_prime(0), since my condition states that if a number is smaller than 2 it should return False, that would mean numbers 0 and 1 should return False. However the errors says it returns None. And in the `elif`

statement, what I understand is " if a number is greater than 2 then we test if it is divisible by n".

Please correct my understanding if i'm wrong. Thanks in advance!

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