input: Write a python function to scrape maximum and minimum temperatures from a given URL and return them as a tuple.
  assert scrape_temps("https://www.weather.gov/source/crh/stateMaxMinTemps.php") == (max_temp, min_temp)
  assert isinstance(scrape_temps("https://www.weather.gov/source/crh/stateMaxMinTemps.php"), tuple)
output: def scrape_temps(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      max_temp = None
      min_temp = None
  
      for table in soup.find_all('table', {'id': 'temperature'}):
          rows = table.find_all('tr')
          for row in rows:
              cols = row.find_all('td')
              if len(cols) > 1:
                  try:
                      temp = int(cols[1].get_text())
                      if max_temp is None or temp > max_temp:
                          max_temp = temp
                      if min_temp is None or temp < min_temp:
                          min_temp = temp
                  except ValueError:
                      continue
  
      return max_temp, min_temp