input: Write a function to create a Python web scraper that extracts the latest stock prices from Yahoo Finance for a list of stock symbols. The function should take a list of stock symbols as input and print the current price for each stock symbol. Use the Yahoo Finance URL structure to fetch the stock prices.
  
  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
  
  def print_stock_prices(stocks):
      for stock in stocks:
          price = get_stock_price(stock)
          print(f'The price of {stock} is {price}.')
  
  print_stock_prices(["AAPL stocks", "MSFT stocks", "FB stocks", "GOOG stocks"])
output: def print_stock_prices(stocks):
      for stock in stocks:
          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
          print(f'The price of {stock} is {price}.')