Hi to all,

somebody can help me with this code, I'm going crazy and I'm not able to see where is the problem....

```
def is_prime(x):
if x < 2:
print 'is not prime'
return False
elif x == 2 or x == 3:
print 'is prime'
return True
else:
for n in range(2, x):
print x, n, range(2, x)
if x % n == 0:
print 'is prime'
return True
else:
print 'is not prime'
return False
is_prime(7)
```

Thanks in advance...

David.