The compiler says I passed, but i tested it with some numbers.

For 12, I get no output

For 9 the output is: The number is not prime

For 2, I get no output

For 5: I get the wrong output 2 times:

The number is not prime

The number is not prime

This is the link:

This is the code:

```
def is_prime(x):
if x >= 2:
for n in range(2, x-1):
if x%n == 0:
return False
print "The number is not prime"
else:
return True
print "The number is prime"
else:
return False
print "The number must be greater than 2"
is_prime(5)
```

How can the compiler pas me when the prints are not working correctly?