input: Write a python function to extract and print product names and prices from a web page containing a table.
  assert extract_products("https://www.example.com/table-with-products") == [("Product1", "$10"), ("Product2", "$20"), ("Product3", "$30")]
  assert extract_products("https://www.example.com/another-table-with-products") == [("ItemA", "$15"), ("ItemB", "$25"), ("ItemC", "$35")]
  assert extract_products("https://www.example.com/empty-table") == []
output: def extract_products(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      products = []
      table = soup.find('table')
      if table:
          for row in table.find_all('tr')[1:]:
              cols = row.find_all('td')
              if len(cols) >= 2:
                  product_name = cols[0].get_text(strip=True)
                  product_price = cols[1].get_text(strip=True)
                  products.append((product_name, product_price))
  
      return products