[Solved]Write Definition Function Called Product Function Receives Two Parameters Containing Integ Q37019628
Write a definition of a function called product. The functionreceives two parameters containing integer values. You may assumethat neither parameter is negative. The function returns theproduct of the parameters. So, product(3,5) returns 15. Thefunction must not use a loop of any kind (for, while,do-while).
This is what I had, but it said there was an executionerror.
def product(x,y):
return (x *y)
a = int(input(“Enter first postive number:”))
b = int(input(“Enter second postive number:”))
print(product(a,b))
Expert Answer
Answer to Write a definition of a function called product. The function receives two parameters containing integer values. You may… . . .
OR

