Hy All,

I've used maybe a bit stone-age way to solve this, but here is my code.

def is_prime(x):

```
if x<2:
return False
if x==2:
return True
if x%2==1:
return True
return False
```

the problem is that for 9 it says:

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

9 is prime, so what can be the problem?

Thanks in advance for any help