Ad
Code
Diff
  • is_more_then_2 = lambda n: n > 2
    • def is_more_then_2(n):
    • return n > 2
    • is_more_then_2 = lambda n: n > 2
Code
Diff
  • sum_of_numbers = lambda a, b: a + b
    • def sum_of_numbers(a, b):
    • return a + b
    • sum_of_numbers = lambda a, b: a + b