Ad
Code
Diff
  • 
    multiply = lambda a , b : a * b 
    print(multiply(5, 10))
    
    • 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
    • print(multiply(5, 10))