def even_or_odd(number):

return number & 2 == 0


print(even_or_odd(3)) #결과값 False

print(even_or_odd(4)) #결과값 true

+ Recent posts