rdiv

iteration_utilities.rdiv(op1, op2, /)

Returns op2 / op1.

Parameters:
op1, op2 : any type

The values to be divided.

Returns:
rdiv : any type

Returns op2 / op1.

Examples

Equivalent to lambda x, y: y / x:

>>> from iteration_utilities import rdiv
>>> rdiv(10, 1)
0.1