```
def is_prime(x):
if x==0 or x==1:
return False
print "not prime"
elif x==2:
return True
print "prime"
else:
for n in (2,(x-1)):
result=x%n
if result==0:
return False
print "not prime"
break
else:
print "prime"
return True
is_prime(9)
```

I don't see where i'm wrong...

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