ScanSkill

* (multiplication)

This * (multiplication) arithmetic operator returns the product of the two expressions.

Syntax

A * B

Here, A and B are called operands and '*' is a multiplication operator.

  • A: An expression that is evaluating to a numeric type.
  • B: An expression that is evaluating to a numeric type.

Examples

>>> 2 * 2
4
>>> 2 * 2.0
4.0
>>> 2.0 * 2
4.0