

"""simple docstring"""






__lowerCamelCase										=		8.3144598





def 	lowercase      (   __UpperCamelCase      ,   __UpperCamelCase						) ->      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
 __lowerCamelCase										=		3_00
 __lowerCamelCase										=		28
 __lowerCamelCase										=		rms_speed_of_molecule(temperature, molar_mass)
 print(f"""Vrms of Nitrogen gas at 300 K is {vrms} m/s""")




"""simple docstring"""






from pathlib import Path

import fire





def 	lowercase      (   __UpperCamelCase      ,   __UpperCamelCase      ,   __UpperCamelCase						) ->      Optional[int]:
 __magic_name__     =      Path(__UpperCamelCase						)
 __magic_name__     =      Path(__UpperCamelCase						)
 dest_dir.mkdir(exist_ok=__UpperCamelCase						)
 for path in src_dir.iterdir():
  __magic_name__     =      [x.rstrip() for x in list(path.open().readlines()						)][:n]
  __magic_name__     =      dest_dir.joinpath(path.name						)
  print(__UpperCamelCase						)
  dest_path.open('''w'''						).write('''\n'''.join(__UpperCamelCase						)						)


if __name__ == "__main__":
 fire.Fire(minify)

