input: from typing import List
  
  def get_stock_prices(stocks: List[str]) -> List[str]:
      """
      This function takes a list of stock names and returns a list of the latest stock prices fetched from a specified finance website.
  
      >>> get_stock_prices(["AAPL stocks", "MSFT stocks", "FB stocks", "GOOG stocks"])
      ['150.50', '300.50', '350.00', '2500.00']
      """
      import requests
      from bs4 import BeautifulSoup
  
      def get_stock_price(stock):
          url = f"https://finance.yahoo.com/quote/{stock}"
          response = requests.get(url)
          soup = BeautifulSoup(response.text, 'html.parser')
          price = soup.find('div', {'class': 'My(6px) Pos(r) smartphone_Mt(6px)'}).find('span').text
          return price
  
      prices = [get_stock_price(stock) for stock in stocks]
      return prices
output:     import requests
      from bs4 import BeautifulSoup
  
      def get_stock_price(stock):
          url = f"https://finance.yahoo.com/quote/{stock}"
          response = requests.get(url)
          soup = BeautifulSoup(response.text, 'html.parser')
          price = soup.find('div', {'class': 'My(6px) Pos(r) smartphone_Mt(6px)'}).find('span').text
          return price
  
      prices = [get_stock_price(stock) for stock in stocks]
      return prices