Ad
Code
Diff
  • def is_even(x):
        return x % 2 == 0
    
    • def is_even(x):
    • return (x/2 == round(x/2))
    • return x % 2 == 0