Tags | skill/problem_solving |
Hard Prerequisites | |
IMPORTANT: Please review these prerequisites, they include important information that will help you with this content. | |
|
Write a function that takes in a single number. It should return
the string even
if the number is even, and the string odd
if the number is odd.
Example usage:
task3(44)
should return even
task3(1)
should return odd
Most self-taught coders don’t know the difference between print and return. Make sure that you understand the difference. It really matters a lot if you want to build anything significant.
return
something?return
different from printing?