


"""simple docstring"""


import requests
from bsa import BeautifulSoup


def _lowerCamelCase			(	_UpperCamelCase = "AAPL"   ):

			'''simple docstring'''




			__lowerCAmelCase       					=    f"https://in.finance.yahoo.com/quote/{symbol}?s={symbol}"
			__lowerCAmelCase       					=    BeautifulSoup(requests.get(_UpperCamelCase   ).text					,				"html.parser"   )
			__lowerCAmelCase       					=    "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"""


def _lowerCamelCase			(	_UpperCamelCase					,				_UpperCamelCase   ):

			'''simple docstring'''




			__lowerCAmelCase       					=    len(_UpperCamelCase   )
			print("The following activities are selected:"   )

			# The first activity is always selected
			__lowerCAmelCase       					=    0
			print(_UpperCamelCase					,				end=","   )

			# Consider rest of the activities
			for j in range(_UpperCamelCase   ):
						# If this activity has start time greater than
						# or equal to the finish time of previously
						# selected activity, then select it
						if start[j] >= finish[i]:
									print(_UpperCamelCase					,				end=","   )
									__lowerCAmelCase       					=    j


if __name__ == "__main__":
	import doctest

	doctest.testmod()

	A  :     Dict    					=    [1, 3, 0, 5, 8, 5]
	A  :     int    					=    [2, 4, 6, 7, 9, 9]
	print_max_activities(start, finish)




