is_prime

The error that I get is :

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

```
My code:
def is_prime(x):
if x == 0 or x == 1:
return False
for n in range(2,x):
if x == 2:
return True
elif x%n == 0:
return False
else:
return True
```