So my code is

`def is_prime(x): if x == 1 or x == 0: return False else: for n in range(x): if x%n == 0: return False else: return True`

but I don't know what is wrong with it. The error message is

"integer division or modulo by zero"

If you know what is wrong help would be appreciated.