Define a function called is_prime that takes a number x as input.
For each number n from 2 to x - 1, test if x is evenly divisible by n.
If it is, return False.
If none of them are, then return True.def is_prime(x):
for n in range(2,x-1):
getting this => “Your function fails on is_prime(0). It returns None when it should return False.”