I feel like this problem is similar to This one
return(lambda x: "Even" if number % 2 == 0 else "Odd")
Of cours I could solve the problem like this:
if number % 2 == 0:
return("Even")
else:
return("Odd")
But I wanted to have a neat one-liner for this. Now I'm stuck, my code returns
at 0x7fb0378fb0d0>
What am I missing?