

'''simple docstring'''

class    snake_case     :






				"""simple docstring"""



				def __init__(    self,     _lowercase       )     ->							Any:
											SCREAMING_SNAKE_CASE_				=				n
											SCREAMING_SNAKE_CASE_				=				[None] * self.n
											SCREAMING_SNAKE_CASE_				=				0  # index of the first element
											SCREAMING_SNAKE_CASE_				=				0
											SCREAMING_SNAKE_CASE_				=				0



				def __len__(    self       )     ->							int:
											return self.size



				def   a__					(    self       )     ->							bool:
											return self.size == 0



				def   a__					(    self       )     ->							List[Any]:
											return False if self.is_empty() else self.array[self.front]



				def   a__					(    self,     _lowercase       )     ->							Dict:
											if self.size >= self.n:
																		raise Exception('QUEUE IS FULL'       )

											SCREAMING_SNAKE_CASE_				=				data
											SCREAMING_SNAKE_CASE_				=				(self.rear + 1) % self.n
											self.size += 1
											return self





				def   a__					(    self       )     ->							Tuple:
											if self.size == 0:
																		raise Exception('UNDERFLOW'       )

											SCREAMING_SNAKE_CASE_				=				self.array[self.front]
											SCREAMING_SNAKE_CASE_				=				None
											SCREAMING_SNAKE_CASE_				=				(self.front + 1) % self.n
											self.size -= 1
											return temp








'''simple docstring'''

SCREAMING_SNAKE_CASE							:				int     	=			8.3_1_4_4_5_9_8




def 							_UpperCamelCase				(   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[str]     	=			300
							SCREAMING_SNAKE_CASE							:				List[Any]     	=			28
							SCREAMING_SNAKE_CASE							:				Optional[Any]     	=			rms_speed_of_molecule(temperature, molar_mass)
							print(f"Vrms of Nitrogen gas at 300 K is {vrms} m/s")





