a_							=      8.314_462  # Unit - J mol-1 K-1




def       __lowerCAmelCase      (						A_   : float						,	A_   : float						,	A_   : float					)    ->  float:






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




def       __lowerCAmelCase      (						A_   : float						,	A_   : float						,	A_   : float					)    ->  float:






  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()




import copy
from dataclasses import dataclass
from pathlib import Path
from typing import Dict, Optional, Union


@dataclass
class 			UpperCAmelCase__    :



  """simple docstring"""






  lowerCAmelCase__		:	Optional[Union[str, Path]]    		= None
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	Optional[Dict]    		= None
  lowerCAmelCase__		:	Optional[str]    		= None
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= True
  lowerCAmelCase__		:	Optional[int]    		= None
  lowerCAmelCase__		:	int    		= 1
  lowerCAmelCase__		:	Optional[Union[str, bool]]    		= None
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	Optional[Dict]    		= None
  lowerCAmelCase__		:	Optional[str]    		= None






  def 	_UpperCAmelCase				(				self:			Any   ) -> "DownloadConfig":




    '''simple docstring'''




    return self.__class__(**{k: copy.deepcopy(__lowerCAmelCase   ) for k, v in self.__dict__.items()}   )



