code: 
  """simple docstring"""
  from scipy.constants import g
  
  
  
  
  def     __lowerCamelCase  (		UpperCamelCase__				,     UpperCamelCase__      ):
  
  
  	"""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''')
  
  
  
  
  
style_context: 
  """simple docstring"""
  def     __lowerCamelCase  (		UpperCamelCase__ = 400_0000      ):
  
  
  	"""simple docstring"""
  
  
  
  
  
  
  	_UpperCAmelCase =						1
  	_UpperCAmelCase =						2
  	_UpperCAmelCase =						0
  	while j <= n:
  		if j % 2 == 0:
  			total += j
  		_UpperCAmelCase ,      _UpperCAmelCase =						j, i + j
  
  	return total
  
  
  if __name__ == "__main__":
  			print(f'''{solution() = }''')
  
  
  
  
  