Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Is Even solution in Uncategorized category for Is Even by Antoni_Wojcik
def is_even(num: int) -> bool:
if num % 2 == 0:
return True
else:
return False
print("Example:")
print(is_even(2))
assert is_even(2) == True
assert is_even(5) == False
assert is_even(0) == True
print("The mission is done! Click 'Check Solution' to earn rewards!")
Nov. 21, 2022
Comments: