I am having trouble with this exercise. So, after looking at other discussions and not getting an answer, I took to you all. My code is as follows.
for n in range(2, x-1):
if x % n == 0:
So you know the for is single indent, the if is double, the return false is triple, the else is double, and the return true is triple.
This is my error message.
Oops, try again. Your function fails on is_prime(0). It returns None when it should return False.
I hope to hear back soon. Thank you.