What is wrong with this code:
The error message says: Oops, try again. Does your is_prime function take exactly one argument (an integer)? Your code threw a "'int' object is not iterable" error.
def is_prime(x): for n in x: if n % 2 == 0 and x % n == 0: return False else: return True