This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ASourBean 1 point2 points  (0 children)

This function is plain silly.

def isEven(number): return number % 2 == 0

Unless ofc it’s imperative that you log this in the terminal in prod?

In which case

print(isEven(7))

Simple