input: 
  import requests
  from bs4 import BeautifulSoup
  
  def get_stock_price(stock):
      """
      This function takes a stock symbol as input and returns the current price of the stock from Yahoo Finance.
      >>> get_stock_price("AAPL stocks")
      '142.34'
      >>> get_stock_price("MSFT stocks")
      '290.12'
      """
      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
  
output:     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