






"""simple docstring"""





from scipy.constants import g







def 	lowerCAmelCase_(			SCREAMING_SNAKE_CASE			,						SCREAMING_SNAKE_CASE       )       ->						float:
    """simple docstring"""

    if mass < 0:
        # handling of negative values of mass
        raise ValueError('The mass of a body cannot be negative'       )
    if height < 0:
        # handling of negative values of height
        raise ValueError('The height above the ground cannot be negative'       )
    return mass * g * height


if __name__ == "__main__":
  from doctest import testmod

  testmod(name="""potential_energy""")






'''simple docstring'''







def 				_snake_case (		lowercase						)       ->       int:
				if not isinstance(lowercase			,    lowercase						):
								__a       :     Union[str, Any]								=	F"""Input value of [number={number}] must be an integer"""
								raise TypeError(lowercase						)
				if number < 1:
								raise ValueError("""Input must be a positive integer"""						)
				return number * (2 * number - 1)


if __name__ == "__main__":
					import doctest

					doctest.testmod()