Hi,

For the code I was using 2 ifs but whenever I use the else after my second if , the code gives out prime for 55.

```
def is_prime(x):
if x < 2:
return False
else:
for n in range(2, x-1):
if x % n == 0:
print "Not Prime"
return False
else:
print "Prime"
return True
return True
is_prime(55)
```

It says that 55 is prime. I did remove the else and redefined the code to

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

But this works for 55 and any other number. I just want to understand that why my first code threw off the 55 as prime. Thank you