
"""simple docstring"""




def 							_lowerCamelCase			(			__a,				__a     ):
		_validate_point(_lowerCAmelCase     )
		_validate_point(_lowerCAmelCase     )
		if len(_lowerCAmelCase     ) != len(_lowerCAmelCase     ):
				raise ValueError('''Both points must be in the same n-dimensional space'''     )

		return float(sum(abs(a - b     ) for a, b in zip(_lowerCAmelCase,				_lowerCAmelCase     )     )     )



def 							_lowerCamelCase			(			__a     ):






		if point:
				if isinstance(_lowerCAmelCase,				_lowerCAmelCase     ):
						for item in point:
								if not isinstance(_lowerCAmelCase,				(int, float)     ):
										SCREAMING_SNAKE_CASE_    			=			(
										    '''Expected a list of numbers as input, found '''
										    F'{type(_lowerCAmelCase     ).__name__}'
										)
										raise TypeError(_lowerCAmelCase     )
				else:
						SCREAMING_SNAKE_CASE_    			=			F'Expected a list of numbers as input, found {type(_lowerCAmelCase     ).__name__}'
						raise TypeError(_lowerCAmelCase     )
		else:
				raise ValueError('''Missing an input'''     )



def 							_lowerCamelCase			(			__a,				__a     ):
		_validate_point(_lowerCAmelCase     )
		_validate_point(_lowerCAmelCase     )
		if len(_lowerCAmelCase     ) != len(_lowerCAmelCase     ):
				raise ValueError('''Both points must be in the same n-dimensional space'''     )

		return float(sum(abs(x - y     ) for x, y in zip(_lowerCAmelCase,				_lowerCAmelCase     )     )     )


if __name__ == "__main__":
						import doctest

						doctest.testmod()



import requests
from bsa import BeautifulSoup





def 						_lowerCAmelCase							(     _lowerCAmelCase = "AAPL"			)    ->						str:


						'''simple docstring'''






						__snake_case				=		F'''https://in.finance.yahoo.com/quote/{symbol}?s={symbol}'''
						__snake_case				=		BeautifulSoup(requests.get(_lowerCAmelCase			).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}''')





