

from abc import ABC, abstractmethod
from typing import Optional, Union

from .. import Dataset, DatasetDict, Features, IterableDataset, IterableDatasetDict, NamedSplit
from ..utils.typing import NestedDataStructureLike, PathLike

class   _a					(			lowercase_				):




      """simple docstring"""

      def __init__(   self							:				Any						,			UpperCAmelCase							:				Union[str, Any] = None						,			UpperCAmelCase							:				List[str] = None						,			UpperCAmelCase							:				Optional[int] = None						,			UpperCAmelCase							:				Dict = None						,			UpperCAmelCase							:				List[str] = False						,			UpperCAmelCase							:				List[Any] = False						,			UpperCAmelCase							:				List[Any] = None						,			**UpperCAmelCase							:				List[Any]						,			):
            A_						  =				path_or_paths
            A_						  =				split if split or isinstance(a__						,			a__	) else """train"""
            A_						  =				features
            A_						  =				cache_dir
            A_						  =				keep_in_memory
            A_						  =				streaming
            A_						  =				num_proc
            A_						  =				kwargs







      @abstractmethod
      def 		__A	(   self							:				Tuple	):
            pass




class   _a					(			lowercase_				):




      """simple docstring"""

      def __init__(   self							:				str						,			UpperCAmelCase							:				Tuple = None						,			UpperCAmelCase							:				Union[str, Any] = None						,			UpperCAmelCase							:				str = False						,			UpperCAmelCase							:				List[str] = False						,			UpperCAmelCase							:				List[Any] = None						,			**UpperCAmelCase							:				Tuple						,			):
            A_						  =				features
            A_						  =				cache_dir
            A_						  =				keep_in_memory
            A_						  =				streaming
            A_						  =				num_proc
            A_						  =				kwargs







      @abstractmethod
      def 		__A	(   self							:				str	):
            pass







lowerCamelCase__       		=  8.3_1_4_4_5_9_8






def 	UpperCamelCase	(							snake_case__  : float						,snake_case__  : 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
     lowerCamelCase__       		=  300
     lowerCamelCase__       		=  28
     lowerCamelCase__       		=  rms_speed_of_molecule(temperature, molar_mass)
     print(f'''Vrms of Nitrogen gas at 300 K is {vrms} m/s''')


