input: def get_latest_stock_prices(stock_list):
      """ Given a list of stock names, this function will scrape the latest stock prices 
      from Yahoo Finance and return a list of tuples where each tuple contains the stock 
      name and the corresponding latest price.
      >>> get_latest_stock_prices(["AAPL stocks", "MSFT stocks", "FB stocks", "GOOG stocks"])
      [('AAPL stocks', '145.09'), ('MSFT stocks', '275.37'), ('FB stocks', '345.62'), ('GOOG stocks', '2673.98')]
      >>> get_latest_stock_prices(["TSLA stocks"])
      [('TSLA stocks', '750.32')]
      """
      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 = []
      for stock in stock_list:
          price = get_stock_price(stock)
          prices.append((stock, price))
      
      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 = []
      for stock in stock_list:
          price = get_stock_price(stock)
          prices.append((stock, price))
      
      return prices