Learn about Python Program to Multiply Two Numbers in the below code example. Also, refer to the comments in the code snippet to get a detailed view about what’s actually happening.
Contents
Python Program to Multiply Two Numbers
#program to multiply two number
num1 = 5
num2 = 10
# multiply
product = num1*num2
# print result
print("The Product of Number:", product)
Output:
The Product of Number: 50
Hope above code works for you and Refer the below Related Codes to gain more insights. Happy coding and come back again.
Similar Code : Subtract Two Numbers in Python using Numpy