and returns "Even" for even numbers or "Odd" for odd numbers.
return, not print. In almost all katas, your function should return the result, use print only to debug your code, and the log will appear above the test result. Read this for some more info.
Thanks, Chrono79!
Don't worry, your commment cracked me up. Never give up the hope that sarcasm can bring <3
In your else your code returns a string instead of a number. Read this too.
This comment is hidden because it contains spoiler information about the solution
Thank you, bro. Helped a lot!
return, not print. In almost all katas, your function should return the result, use print only to debug your code, and the log will appear above the test result. Read this for some more info.
This comment is hidden because it contains spoiler information about the solution