Ad
Code
Diff
  • multiply = lambda a, b: a * b
    • from math import prod
    • def multiply(a, b):
    • ints = (a, b)
    • return prod(ints)
    • result = multiply(5, 10)
    • print(result)
    • multiply = lambda a, b: a * b