2/15 I must totally suck or something


#1
def is_true(x):
    if x % 2 == 0:
        return True
    else:
        return False

why is this always wrong when I submit it? I think I am misunderstanding what '%' means.. can someone explain this for me?


#2

Hi, @zacradford ,

The function needs be named is_even, but you named it is_true. To test your code, Codecademy attempts to call a function named is_even, but does not find one by that name.


#3

Gosh dang it, it's something small every time, haha thank you!