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