input: Write a function to create a list of dictionaries from a given list of books, where each dictionary contains the title, author, and number of pages. If the input list is empty, the function should return an empty list.
  
  def create_book_list(books):
    book_list = []
    for book in books:
      title, author, pages = book
      book_dict = {'title': title, 'author': author, 'pages': pages}
      book_list.append(book_dict)
    return book_list
  
  assert create_book_list([['The Hobbit', 'J.R.R. Tolkien', 295], ['The Catcher in the Rye', 'J.D. Salinger', 223]]) == [
    {'title': 'The Hobbit', 'author': 'J.R.R. Tolkien', 'pages': 295},
    {'title': 'The Catcher in the Rye', 'author': 'J.D. Salinger', 'pages': 223},
  ]
  assert create_book_list([]) == []
output: def create_book_list(books):
    book_list = []
    for book in books:
      title, author, pages = book
      book_dict = {'title': title, 'author': author, 'pages': pages}
      book_list.append(book_dict)
    return book_list