input: Write a function to scrape the latest stock prices from specific finance websites using a web scraper in Python. The function should take a list of stock names as input and return the prices of these stocks. If the stock price cannot be found, the function should return 'Price not found'. Define the function with input and output examples.
  
  
  import requests
  from bs4 import BeautifulSoup
  
  def get_stock_price(stocks):
      def fetch_price(stock):
          try:
              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
          except:
              return 'Price not found'
      
      return {stock: fetch_price(stock) for stock in stocks}
  
  # Input
  stocks = ["AAPL", "MSFT", "FB", "GOOG"]
  
  # Output
  results = get_stock_price(stocks)
  print(results)
  
  
  Assert test cases:
  1. **Expected Input**: ["AAPL", "MSFT", "FB", "GOOG"]
  2. **Expected Output**: {'AAPL': 'Specific Price in String Format', 'MSFT': 'Specific Price in String Format', 'FB': 'Specific Price in String Format', 'GOOG': 'Specific Price in String Format'}
  
  Note: Replace 'Specific Price in String Format' with the actual expected price values when running the function in an environment where the scraping can be performed and observed.
output: def get_stock_price(stocks):
      def fetch_price(stock):
          try:
              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
          except:
              return 'Price not found'
      
      return {stock: fetch_price(stock) for stock in stocks}