input: Write a python function to scrape product names and prices from an e-commerce webpage.
  assert scrape_products('http://example.com/products') == [('Product 1', '$10.00'), ('Product 2', '$20.00')]
  assert scrape_products('http://example.com/empty') == []
  assert scrape_products('http://example.com/sale') == [('Product A', '$5.00'), ('Product B', '$15.00')]
output: def scrape_products(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      products = []
      for product in soup.select('.product'):
          name = product.select_one('.product-name').text.strip()
          price = product.select_one('.product-price').text.strip()
          products.append((name, price))
  
      return products