input: Write a function to scrape the latest stock prices from a list of stock tickers provided by the user using Python. The function should take a list of stock tickers as input and print the current stock prices for each given ticker. Use the Yahoo Finance website to retrieve the stock prices. If an error occurs during the scraping process (e.g., the stock ticker is not found), the function should print an error message.
  assert get_stock_price(["AAPL stocks"])
  assert get_stock_price(["MSFT stocks"])
  assert get_stock_price(["FB stocks"])
  assert get_stock_price(["GOOG stocks"])
  assert get_stock_price([])
output: 
  import yfinance as yf
  
  def get_stock_price(tickers):
      for ticker in tickers:
          try:
              stock = yf.Ticker(ticker)
              price = stock.history(period="1d")['Close'].iloc[-1]
              print(f"{ticker}: {price}")
          except Exception as e:
              print(f"Error fetching price for {ticker}: {e}")
  