<aside> 🏦 Caveat emptor, none of these functions are actually needed in projects since they are almost all already part of the standard Python library

</aside>

Absolute Value Function

# define function to get absolute value 
def abs(val: int | float = None):
    return (-1 * val if val < 0 else val)