Hi All,

Could someone help me with the below code?

```
def is_prime(x):
n = 2
while n < x:
if x % n == 0:
return False
n = n + 1
elif abs(x) <= 1:
return False
else:
return True
```

I assume it is wrong, although I don’t receive any error message, it just keeps running…

Thanks for the help!