Python Python Basics (2015) Number Game App Even or Odd

What am I doing wrong/
def even_odd(num):

    if even_odd %2 = 0:
        return True
        return False

1 Answer

Greg Kaleka
Greg Kaleka
39,004 Points

Hey Nick,

You've pretty much got it, but inside your formula, even_odd doesn't mean anything! You want to use num, the value that was passed in.

Cheers :beers: