
import requests
from bsa import BeautifulSoup



def 						lowercase_      (       A__ = "AAPL"		)							->							str:
    """simple docstring"""

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



from __future__ import annotations



def 						lowercase_      (       A__			,		A__			,		A__		)							->							int | float:
    """simple docstring"""

    if len(A__		) == 0:
        raise ValueError("find_max() arg is an empty sequence"		)
    if (
        left >= len(A__		)
        or left < -len(A__		)
        or right >= len(A__		)
        or right < -len(A__		)
    ):
        raise IndexError("list index out of range"		)
    if left == right:
        return nums[left]
    snake_case								= (left + right) >> 1  # the middle
    snake_case								= find_max(A__			,		A__			,		A__		)  # find max in range[left, mid]
    snake_case								= find_max(A__			,		mid + 1			,		A__		)  # find max in range[mid + 1, right]

    return left_max if left_max >= right_max else right_max


if __name__ == "__main__":
   import doctest

   doctest.testmod(verbose=True)

