input: def get_stock_price(stock: str) -> str:
      """
      This function retrieves the latest stock price for a given stock from Yahoo Finance.
      It constructs the URL based on the stock symbol, makes a request to the URL, and parses 
      the HTML content to extract the stock price.
      
      Example:
      >>> get_stock_price("AAPL")
      '148.79'
      >>> get_stock_price("MSFT")
      '253.13'
      """
output:     import requests
      from bs4 import BeautifulSoup
  
      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