


import pprint

import requests

lowerCAmelCase       =							'https://zenquotes.io/api'
def 			_a (      ):


		"""simple docstring"""




		return requests.get(API_ENDPOINT_URL + '''/today'''     ).json()
def 			_a (      ):


		"""simple docstring"""




		return requests.get(API_ENDPOINT_URL + '''/random'''     ).json()


if __name__ == "__main__":
			lowerCAmelCase       =							random_quotes()
			pprint.pprint(response)




"""simple docstring"""





import requests
from bsa import BeautifulSoup



def 						_lowerCAmelCase				(				UpperCamelCase_ = "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}""")




