rmul

iteration_utilities.rmul(op1, op2, /)

Returns op2 * op1.

Parameters:

op1, op2 : any type

The values to be multiplied.

Returns:

rmul : any type

Returns op2 * op1.

Examples

Equivalent to lambda x, y: y * x:

>>> from iteration_utilities import rmul
>>> rmul(2, 2)
4