API reference

calc.addition(a, b)[source]

Add two numbers.

Parameters: - a (int or float): The first number. - b (int or float): The second number.

Returns: int or float: The sum of the two input numbers.

calc.sqroot(a)[source]

Calculate the square root of a number.

Parameters: - a (int or float): The number for which the square root is calculated.

Returns: float: The square root of the input number.

calc.squared(a)[source]

Calculate the square of a number.

Parameters: - a (int or float): The number to be squared.

Returns: int or float: The square of the input number.