
'''simple docstring'''
A__   :		Any 		=8.3_1_4_4_5_9_8







def        A_     (						__SCREAMING_SNAKE_CASE						:  float			,     __SCREAMING_SNAKE_CASE						:  float )				->       float:





  """simple docstring"""

  if temperature < 0:
    raise Exception("""Temperature cannot be less than 0 K""" )
  if molar_mass <= 0:
    raise Exception("""Molar mass cannot be less than or equal to 0 kg/mol""" )
  else:
    return (3 * UNIVERSAL_GAS_CONSTANT * temperature / molar_mass) ** 0.5


if __name__ == "__main__":
     import doctest

     # run doctest
     doctest.testmod()

     # example
     A__   :		Tuple 		=300
     A__   :		Union[str, Any] 		=28
     A__   :		List[str] 		=rms_speed_of_molecule(temperature, molar_mass)
     print(F"Vrms of Nitrogen gas at 300 K is {vrms} m/s")





'''simple docstring'''
from __future__ import annotations







def        A_     (						__SCREAMING_SNAKE_CASE						:  list[int] )				->       int:





  """simple docstring"""

  if not nums:
    return 0
  __A		:     List[Any]												=		nums[0]
  __A		:     Union[str, Any]												=		0
  for num in nums[1:]:
    __A							,					__A		:     Union[str, Any]												=		(
        max_excluding + num,
        max(__SCREAMING_SNAKE_CASE			,     __SCREAMING_SNAKE_CASE ),
    )
  return max(__SCREAMING_SNAKE_CASE			,     __SCREAMING_SNAKE_CASE )


if __name__ == "__main__":
     import doctest

     doctest.testmod()



