"""simple docstring"""




def 							SCREAMING_SNAKE_CASE					(      _lowerCamelCase						:	float      ,_lowerCamelCase						:	float     )	->				float:
  if mass < 0:
    raise ValueError("""The mass of a body cannot be negative"""     )
  return 0.5 * mass * abs(_lowerCamelCase     ) * abs(_lowerCamelCase     )


if __name__ == "__main__":
     import doctest

     doctest.testmod(verbose=True)





"""simple docstring"""




from __future__ import annotations





def 							SCREAMING_SNAKE_CASE					(      _lowerCamelCase						:	list     )	->				float:
  if not nums:
    raise ValueError("""List is empty"""     )
  return sum(_lowerCamelCase     ) / len(_lowerCamelCase     )


if __name__ == "__main__":
     import doctest

     doctest.testmod()




