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