



"""simple docstring"""
from __future__ import annotations

def    _snake_case		(		UpperCamelCase		:	list		):
 if len(UpperCamelCase		) == 0:
  return []
 UpperCAmelCase			:      Optional[int]			=			min(UpperCamelCase		), max(UpperCamelCase		)
 UpperCAmelCase			:      Optional[Any]			=			int(max_value - min_value		) + 1
 UpperCAmelCase			:      list[list]			=			[[] for _ in range(UpperCamelCase		)]

 for i in my_list:
  buckets[int(i - min_value		)].append(UpperCamelCase		)

 return [v for bucket in buckets for v in sorted(UpperCamelCase		)]


if __name__ == "__main__":
   from doctest import testmod

   testmod()
   assert bucket_sort([4, 5, 3, 2, 1]) == [1, 2, 3, 4, 5]
   assert bucket_sort([0, 1, -1_0, 1_5, 2, -2]) == [-1_0, -2, 0, 1, 2, 1_5]





"""simple docstring"""
import requests
from bsa import BeautifulSoup

def    _snake_case		(		UpperCamelCase		:	str = "AAPL"		):
 UpperCAmelCase			:      Any			=			F"https://in.finance.yahoo.com/quote/{symbol}?s={symbol}"
 UpperCAmelCase			:      Optional[int]			=			BeautifulSoup(requests.get(UpperCamelCase		).text    ,	"""html.parser"""		)
 UpperCAmelCase			:      int			=			"""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}""")
