[docs]
def squared(a):
"""
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.
"""
return a * a
[docs]
def addition(a, b):
"""
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.
"""
return a + b
[docs]
def sqroot(a):
"""
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.
"""
return a**0.5