I don't know how to make number even or odd
I need help figuring out how to get the number even or odd
def even_odd(number): if number%2: return True else: return False
Steven Parker176,597 Points
You have the right idea, but you need to return the opposite of the remainder. Try putting "not" in front of the expression.
Thank you for explaining