So I was looking at the code here and I came across a few questions:

```
def is_prime(x):
if x < 2:
return False
else:
for n in xrange(2, x):
if x%n == 0:
return False
return True
```

Why can't we use this code?

```
def is_prime(x):
if x < 2:
return False
else:
for n in xrange(2, x):
if x / n != 1:
return False
return True
```

I'm trying to figure out why that isn't okay through the program.

Thanks in advance!