input: def get_stock_price(stock: str) -> str:
      """ Given a stock name, this function scrapes the stock price from finance.yahoo.com.
      >>> get_stock_price("AAPL stocks")
      '148.79'
      >>> get_stock_price("MSFT stocks")
      '250.30'
      """
output:     import requests
      from bs4 import BeautifulSoup
  
      url = f"https://finance.yahoo.com/quote/{stock.split()[0]}"
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      price = soup.find('fin-streamer', {'data-field': 'regularMarketPrice'}).text
      return price