Welcome to the Treehouse Community
Looking to learn something new?
Haytham Bassiouny3,904 Points
I think there's a bug in this question
I wrote exactly the same code in the workspace and it worked well.
def even_odd(number): if int(number)%2==0: print("True") else: print("False")
Fabian GeorgeCourses Plus Student 11,133 Points
def even_odd(number): if int(number)%2==0: return True else: return False