input: Write a python function to scrape movie titles and their scores from IMDb.
  assert scrape_imdb() == [("The Shawshank Redemption", "9.3"), ("The Godfather", "9.2"), ("The Dark Knight", "9.0")]
  assert isinstance(scrape_imdb(), list)
  assert all(isinstance(i, tuple) and len(i) == 2 for i in scrape_imdb())
output: def scrape_imdb():
      import requests
      from bs4 import BeautifulSoup
  
      url = "https://www.imdb.com/chart/top"
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
  
      movies = []
      rows = soup.select('table.chart.full-width tr')
  
      for row in rows[1:]:  # Skip the header row
          title_column = row.select_one('td.titleColumn a')
          rating_column = row.select_one('td.imdbRating strong')
          if title_column and rating_column:
              title = title_column.text
              rating = rating_column.text
              movies.append((title, rating))
  
      return movies