write a python program to print product of two number.
Answers
Answered by
1
Answer:
Python program to multiply two numbers
num1=int(input("Enter the first number: "))
#input value for variable num1.
num2=int(input("Enter the second number: "))
#input value for variable num2.
mul=num1*num2;
#perform multiplication operation.
print("the product of given numbers is: ",mul)
#display the product.
Answered by
0
Answer:
The codes are:
_____________________________
def product(a,b):
return a*b
_____________________________
Explanation:
"def" defines a function called "product" which accepts 2 parameters and returns the product.
Similar questions