






'''simple docstring'''

A:      Any  				=				8.314_462  # Unit - J mol-1 K-1






def 	_UpperCAmelCase    (  a		:	float						,			a		:	float						,			a		:	float							)			->			float:





						"""simple docstring"""
						if moles < 0 or kelvin < 0 or volume < 0:
												raise ValueError('Invalid inputs. Enter positive value.'							)
						return moles * kelvin * UNIVERSAL_GAS_CONSTANT / volume






def 	_UpperCAmelCase    (  a		:	float						,			a		:	float						,			a		:	float							)			->			float:





						"""simple docstring"""
						if moles < 0 or kelvin < 0 or pressure < 0:
												raise ValueError('Invalid inputs. Enter positive value.'							)
						return moles * kelvin * UNIVERSAL_GAS_CONSTANT / pressure


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

						testmod()








'''simple docstring'''

import os
from distutils.util import strtobool






def 	_UpperCAmelCase    (  a		:	Any						,			a		:	int							)			->			Any:





						"""simple docstring"""
						for e in env_keys:
												lowercase_      :   Optional[Any]        =			int(os.environ.get(a						,			-1							)							)
												if val >= 0:
																		return val
						return default






def 	_UpperCAmelCase    (  a		:	List[Any]						,			a		:	Dict=False							)			->			Optional[Any]:





						"""simple docstring"""
						lowercase_      :   Optional[int]        =			os.environ.get(a						,			str(a							)							)
						return strtobool(a							) == 1  # As its name indicates `strtobool` actually returns an int...






def 	_UpperCAmelCase    (  a		:	List[Any]						,			a		:	Dict="no"							)			->			str:





						"""simple docstring"""
						lowercase_      :   List[Any]        =			os.environ.get(a						,			str(a							)							)
						return value
