





import requests
from bsa import BeautifulSoup






def 					SCREAMING_SNAKE_CASE__				(							UpperCamelCase__:				str = "AAPL"     ):
		SCREAMING_SNAKE_CASE__								=   f'''https://in.finance.yahoo.com/quote/{symbol}?s={symbol}'''
		SCREAMING_SNAKE_CASE__								=   BeautifulSoup(requests.get(UpperCamelCase__     ).text       , """html.parser"""     )
		SCREAMING_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}''')


import re

from filelock import FileLock


try:
      import nltk

      a_     :    Optional[Any]     		=   True
except (ImportError, ModuleNotFoundError):
      a_     :    Union[str, Any]     		=   False

if NLTK_AVAILABLE:
      with FileLock(".lock") as lock:
            nltk.download("punkt", quiet=True)


def 							__lowerCAmelCase     (							_UpperCamelCase		:	str						)		->				str:
 '''simple docstring'''


 re.sub('<n>'		,				''		,				_UpperCamelCase						)  # remove pegasus newline char
 assert NLTK_AVAILABLE, "nltk must be installed to separate newlines between sentences. (pip install nltk)"
 return "\n".join(nltk.sent_tokenize(_UpperCamelCase						)						)

