divmod solution in Creative category for Is Even by Wartem
def is_even(num: int) -> bool: return not divmod(num, 2)[1]
Sept. 15, 2022
Comments: