input: 
  def get_stock_price(stock):
      """Given a stock identifier, this function scrapes the latest stock price from Yahoo Finance.
      It constructs the URL for the stock's page, sends a request to that URL, and parses the HTML
      to extract the stock's price. The function returns the stock's price as a string.
      >>> get_stock_price("AAPL stocks")
      '145.09'
      >>> get_stock_price("MSFT stocks")
      '257.26'
      """
  
output:     import requests
      from bs4 import BeautifulSoup
  
      stock = stock.replace(" stocks", "")
      url = f"https://finance.yahoo.com/quote/{stock}"
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      price = soup.find('fin-streamer', {'data-field': 'regularMarketPrice'}).text
      return price