def is_prime(x):

x=abs(x)

if x==0 or x==1:

return False

if x==2:

return True

for n in range(2,x):

if x%n ==0:

return False

else:

return True

error-Oops, try again. Your function fails on is_prime(-10). It returns True when it should return False.

`pls help me with this`