input: Write a python function to extract stock information from a given URL and return it as a list of dictionaries.
  assert extract_stock_info("https://www.example.com/stocks") == [{'Stock Symbol': 'AAPL', 'Stock Name': 'Apple Inc.', 'Stock Price': '$150.00'}, {'Stock Symbol': 'GOOGL', 'Stock Name': 'Alphabet Inc.', 'Stock Price': '$2800.00'}]
  assert extract_stock_info("https://www.example.com/stocks") == [{'Stock Symbol': 'TSLA', 'Stock Name': 'Tesla Inc.', 'Stock Price': '$800.00'}, {'Stock Symbol': 'AMZN', 'Stock Name': 'Amazon Inc.', 'Stock Price': '$3500.00'}]
  assert extract_stock_info("https://www.example.com/stocks") == []
output: import requests
  from bs4 import BeautifulSoup
  
  def extract_stock_info(url):
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      stocks = []
      stock_elements = soup.find_all(class_='stock')
      
      for stock in stock_elements:
          stock_symbol = stock.find(class_='symbol').text
          stock_name = stock.find(class_='name').text
          stock_price = stock.find(class_='price').text
          
          stocks.append({
              'Stock Symbol': stock_symbol,
              'Stock Name': stock_name,
              'Stock Price': stock_price
          })
      
      return stocks