Source code for pkg_test_dprohe.core.core_2

"""
Docstring for src.pkg_test_dprohe.core.core_2
"""


[docs] def multiply(val_1: float | int | complex, val_2: float | int | complex): """Multiplies two values together Parameters ---------- val_1 : float | int | complex The first value val_2 : float | int | complex The second value Returns ------- product : float | int | complex The multiplication of the two values """ return val_1 * val_2
[docs] def divide(val_1: float | int | complex, val_2: float | int | complex): """Divides two values together Parameters ---------- val_1 : float | int | complex The first value val_2 : float | int | complex The second value Returns ------- ratio : float | int | complex The division of the two values """ return val_1 / val_2