input: def get_stock_price(stock: str) -> str:
      """ Extract the latest stock price for a given stock from finance.yahoo.com.
      >>> get_stock_price("AAPL stocks")
      'The price of AAPL stocks is 148.79.'
      >>> get_stock_price("MSFT stocks")
      'The price of MSFT stocks is 296.44.'
      >>> get_stock_price("FB stocks")
      'The price of FB stocks is 331.26.'
      >>> get_stock_price("GOOG stocks")
      'The price of GOOG stocks is 2545.30.'
      """
output:     import requests
      from bs4 import BeautifulSoup
  
      url = f"https://finance.yahoo.com/quote/{stock.split()[0]}"
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      price = soup.find('fin-streamer', {'data-field': 'regularMarketPrice'}).text
  
      return f'The price of {stock} is {price}.'