Source code for pkg_test_dprohe.core.core_1
"""
Docstring for src.pkg_test_dprohe.core.core_1
"""
[docs]
def add(val_1: float | int | complex, val_2: float | int | complex):
"""Adds two values together
Parameters
----------
val_1 : float | int | complex
The first value
val_2 : float | int | complex
The second value
Returns
-------
sum : float | int | complex
The addition of the two values
"""
return val_1 + val_2
[docs]
def subtract(val_1: float | int | complex, val_2: float | int | complex):
"""Subtracts two values together
Parameters
----------
val_1 : float | int | complex
The first value
val_2 : float | int | complex
The second value
Returns
-------
difference : float | int | complex
The subtraction of the two values
"""
return val_1 - val_2