



import requests
from bsa import BeautifulSoup






def        A       (      _lowerCamelCase = "AAPL"						):





       '''simple docstring'''




       _lowerCAmelCase  :							Dict				     =					F"https://in.finance.yahoo.com/quote/{symbol}?s={symbol}"
       _lowerCAmelCase  :							str				     =					BeautifulSoup(requests.get(_SCREAMING_SNAKE_CASE						).text       ,				"html.parser"						)
       _lowerCAmelCase  :							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}''')





def        A       (      _lowerCamelCase						):





							'''simple docstring'''




							if length <= 0 or not isinstance(_lowerCamelCase       ,				_lowerCamelCase						):
														raise ValueError("Length must be a positive integer."						)
							return [n * (2 * n - 1) for n in range(_lowerCamelCase						)]


if __name__ == "__main__":
						print(hexagonal_numbers(length=5))
						print(hexagonal_numbers(length=10))
