






def    __magic_name__    (	SCREAMING_SNAKE_CASE     ,     SCREAMING_SNAKE_CASE = False				)     ->    str:

							if not isinstance(_lowerCamelCase     ,     _lowerCamelCase				):
														_lowercase							:   Any 							=   F"""Expected string as input, found {type(_lowerCamelCase				)}"""
														raise ValueError(_lowerCamelCase				)
							if not isinstance(_lowerCamelCase     ,     _lowerCamelCase				):
														_lowercase							:   Optional[int] 							=   F"""Expected boolean as use_pascal parameter, found {type(_lowerCamelCase				)}"""
														raise ValueError(_lowerCamelCase				)

							_lowercase							:   Tuple 							=   input_str.split('_'				)

							_lowercase							:   List[str] 							=   0 if use_pascal else 1

							_lowercase							:   Tuple 							=   words[start_index:]

							_lowercase							:   List[Any] 							=   [word[0].upper() + word[1:] for word in words_to_capitalize]

							_lowercase							:   Dict 							=   '' if use_pascal else words[0]

							return "".join([initial_word, *capitalized_words]				)


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

							testmod()












"""simple docstring"""





_SCREAMING_SNAKE_CASE   :							Optional[int]          =		8.314_4598







def 	lowerCamelCase__			(				_lowerCamelCase			:						float						,							_lowerCamelCase			:						float					) ->							float:
  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
  _SCREAMING_SNAKE_CASE   :							List[Any]          =		300
  _SCREAMING_SNAKE_CASE   :							Dict          =		28
  _SCREAMING_SNAKE_CASE   :							List[str]          =		rms_speed_of_molecule(temperature, molar_mass)
  print(F'''Vrms of Nitrogen gas at 300 K is {vrms} m/s''')




