Python Multiplication Operator
In Python, Arithmetic Multiplication Operator takes two operands and returns their product.
ADVERTISEMENT
Syntax
The syntax to find the product of two numbers: a
and b
using Multiplication Operator is
a * b
The above expression returns a number.
Example
In the following program, we take two numbers: a, b; and find their product.
main.py
a = 5 b = 4 result = a * b print(result)Try Online
Output
20
Conclusion
In this Python Tutorial, we learned about Arithmetic Multiplication Operator, its syntax, and usage, with examples.