6. is_prime


plzz anyone help me with this...i m not getting my mistake.:cry:

def is_prime(x):
    if x == 2 or x == 3:
        return True
    elif x > 2:
        for n in range(2,x-1):
            if x%n == 0:
               return False
        return True

6. is_prime

what is the error message? You are going to need to make another if or elif to check for low number (1 and lower) which include the negative numbers