my_lib_gens#

Submodules#

Exceptions#

MyLibZeroDivisionError

Second argument to a division or modulo operation was zero.

Functions#

add(→ int)

Perform addition between provided arguments.

sub(→ int)

Perform substraction between provided arguments.

mult(→ int)

Perform multiplication between provided arguments.

div(→ float)

Perform division between provided arguments.

mod(→ int)

Perform modulo between provided arguments.

Package Contents#

my_lib_gens.add(a: int, b: int) int#

Perform addition between provided arguments.

my_lib_gens.sub(a: int, b: int) int#

Perform substraction between provided arguments.

my_lib_gens.mult(a: int, b: int) int#

Perform multiplication between provided arguments.

my_lib_gens.div(a: float, b: float) float#

Perform division between provided arguments.

my_lib_gens.mod(a: int, b: int) int#

Perform modulo between provided arguments.

exception my_lib_gens.MyLibZeroDivisionError#

Bases: ZeroDivisionError

Second argument to a division or modulo operation was zero.