Ad
Code
Diff
  • def even_or_odd(n):
        return 'Odd' if n % 2 else 'Even'
    • def even_or_odd(n):
    • return 'Even' if n % 2 == 0 else 'Odd'
    • return 'Odd' if n % 2 else 'Even'