input: Write a python function to scrape product data from a webpage and return it as a list of dictionaries.
  assert scrape_product_data('http://example.com') == [{'name': 'Product1', 'price': '$10', 'description': 'Description1'}, {'name': 'Product2', 'price': '$20', 'description': 'Description2'}]
  assert scrape_product_data('http://another-example.com') == [{'name': 'WidgetA', 'price': '$15', 'description': 'High quality widget'}, {'name': 'WidgetB', 'price': '$25', 'description': 'Premium widget'}]
output: def scrape_product_data(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
  
      products = []
      for product in soup.select('.product'):
          name = product.select_one('.product-name').text
          price = product.select_one('.product-price').text
          description = product.select_one('.product-description').text
          products.append({'name': name, 'price': price, 'description': description})
  
      return products