input: from typing import List
  
  def get_stock_price(stock: str) -> str:
      """Retrieve the latest stock price for a given stock symbol by scraping the Yahoo Finance website.
      >>> get_stock_price("AAPL stocks")
      '150.50'
      >>> get_stock_price("MSFT stocks")
      '280.35'
      >>> get_stock_price("FB stocks")
      '350.75'
      >>> get_stock_price("GOOG stocks")
      '2500.99'
      """
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 price