



import requests
from bsa import BeautifulSoup


def    __lowerCamelCase   (  lowerCamelCase__ = "AAPL"		):

				"""simple docstring"""


				lowercase__	:       Optional[Any]						=	F"""https://in.finance.yahoo.com/quote/{symbol}?s={symbol}"""
				lowercase__	:       Any						=	BeautifulSoup(requests.get(lowerCAmelCase__		).text	,					"html.parser"		)
				lowercase__	:       str						=	"My(6px) Pos(r) smartphone_Mt(6px)"
				return soup.find("div"	,					class_=class_		).find("span"		).text


if __name__ == "__main__":
				for symbol in "AAPL AMZN IBM GOOG MSFT ORCL".split():
								print(f'''Current {symbol:<4} stock price is {stock_price(symbol):>8}''')





"""simple docstring"""






from math import pow, sqrt


def      UpperCAmelCase__			(							*lowerCAmelCase__	:float						)					->       bool:
      '''simple docstring'''


      lowercase								=      len(lowerCAmelCase__						) > 0 and all(value > 0.0 for value in values						)
      return result


def      UpperCAmelCase__			(							lowerCAmelCase__	:float   ,						lowerCAmelCase__	:float						)					->       float | ValueError:
      '''simple docstring'''


      return (
          round(sqrt(molar_mass_a / molar_mass_a						)   ,						6						)
          if validate(lowerCAmelCase__   ,						lowerCAmelCase__						)
          else ValueError("""Input Error: Molar mass values must greater than 0."""						)
      )


def      UpperCAmelCase__			(							lowerCAmelCase__	:float   ,						lowerCAmelCase__	:float   ,						lowerCAmelCase__	:float						)					->       float | ValueError:
      '''simple docstring'''


      return (
          round(effusion_rate * sqrt(molar_mass_a / molar_mass_a						)   ,						6						)
          if validate(lowerCAmelCase__   ,						lowerCAmelCase__   ,						lowerCAmelCase__						)
          else ValueError(
              """Input Error: Molar mass and effusion rate values must greater than 0."""						)
      )


def      UpperCAmelCase__			(							lowerCAmelCase__	:float   ,						lowerCAmelCase__	:float   ,						lowerCAmelCase__	:float						)					->       float | ValueError:
      '''simple docstring'''


      return (
          round(effusion_rate / sqrt(molar_mass_a / molar_mass_a						)   ,						6						)
          if validate(lowerCAmelCase__   ,						lowerCAmelCase__   ,						lowerCAmelCase__						)
          else ValueError(
              """Input Error: Molar mass and effusion rate values must greater than 0."""						)
      )


def      UpperCAmelCase__			(							lowerCAmelCase__	:float   ,						lowerCAmelCase__	:float   ,						lowerCAmelCase__	:float						)					->       float | ValueError:
      '''simple docstring'''


      return (
          round(molar_mass / pow(effusion_rate_a / effusion_rate_a   ,						2						)   ,						6						)
          if validate(lowerCAmelCase__   ,						lowerCAmelCase__   ,						lowerCAmelCase__						)
          else ValueError(
              """Input Error: Molar mass and effusion rate values must greater than 0."""						)
      )






def      UpperCAmelCase__			(							lowerCAmelCase__	:float   ,						lowerCAmelCase__	:float   ,						lowerCAmelCase__	:float						)					->       float | ValueError:
      '''simple docstring'''


      return (
          round(pow(effusion_rate_a / effusion_rate_a   ,						2						) / molar_mass   ,						6						)
          if validate(lowerCAmelCase__   ,						lowerCAmelCase__   ,						lowerCAmelCase__						)
          else ValueError(
              """Input Error: Molar mass and effusion rate values must greater than 0."""						)
      )



