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