I can't quite figure out how to account for numbers less than 2 being prime, while also getting 2 to be classified as a prime.I keep getting the error message:Oops, try again. Your function fails on is_prime(2). It returns None when it should return True.

I don't expect that anything will change yet.. I've tried editing this as much as I can think, but I am wondering if there any additional hints that could challenge my thinking on this, so maybe I can come up with something. I know I am missing something, I just don't know what I am missing on this one.

```
x = int(input())
def is_prime(x):
if (x < 2):
return False
else:
for n in range (2, x-1):
if (x % n == 0):
return False
else:
return True
is_prime(x)
```