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

No idea what is wrong with this code. If you can just please fix the mistake and tell me why it was wrong.

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