Ad
Fundamentals
Code
Diff
  • def is_even(n):
        return n & 1 == 0
    • def is_even(n):
    • return n % 2==0
    • return n & 1 == 0