input: Write a python function to scrape product titles and prices from a webpage and return them as a list of dictionaries.
  assert scrape_products('https://examplewebsite.com/') == [{'title': 'Product 1', 'price': '$100'}, {'title': 'Product 2', 'price': '$200'}]
  assert scrape_products('https://examplewebsite.com/') == [{'title': 'Item A', 'price': '$150'}, {'title': 'Item B', 'price': '$250'}]
  assert scrape_products('https://examplewebsite.com/') == [{'title': 'Thing X', 'price': '$300'}, {'title': 'Thing Y', 'price': '$400'}]
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_products(url):
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      
      products = []
      for item in soup.select('.product'):  # Adjust the selector to match the actual class or tag on the webpage
          title = item.select_one('.product-title').text.strip()  # Adjust the selector to match the actual class or tag for titles
          price = item.select_one('.product-price').text.strip()  # Adjust the selector to match the actual class or tag for prices
          products.append({'title': title, 'price': price})
      
      return products