





import requests
from bsa import BeautifulSoup






def 		lowerCAmelCase  (	UpperCamelCase__   :   str = "AAPL"					)      ->    str:

						"""simple docstring"""





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




import os
from distutils.util import strtobool






def 							snake_case__				(     _A:   int ,  _A:   List[Any]					)       ->      Union[str, Any]:

		'''simple docstring'''


		for e in env_keys:
				lowerCAmelCase     =    int(os.environ.get(_A ,  -1					)					)
				if val >= 0:
						return val
		return default






def 							snake_case__				(     _A:   str ,  _A:   List[Any]=False					)       ->      int:

		'''simple docstring'''


		lowerCAmelCase     =    os.environ.get(_A ,  str(_A					)					)
		return strtobool(_A					) == 1  # As its name indicates `strtobool` actually returns an int...






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

		'''simple docstring'''


		lowerCAmelCase     =    os.environ.get(_A ,  str(_A					)					)
		return value




