"Oops, try again. Your function fails on is_prime(1). It returns None when it should return False."
I am really confused on what I'm supposed to do.
Replace this line with your code. def is_prime(x): if x==0 and x<2: return False elif x>=2: return True else: for n in range (2, x): if x%n==0 and x%1==n: return False else: return True