input: Write a function to convert a list of book details into a dictionary format where each book is represented by its title, author, and number of pages. If the input list is empty, return an empty dictionary.
  assert store_books([['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 store_books([])==[]
  assert store_books([['1984', 'George Orwell', 328]])==[{'title': '1984', 'author': 'George Orwell', 'pages': 328}]
  assert store_books([['To Kill a Mockingbird', 'Harper Lee', 281], ['Pride and Prejudice', 'Jane Austen', 432]])==[{'title': 'To Kill a Mockingbird', 'author': 'Harper Lee', 'pages': 281}, {'title': 'Pride and Prejudice', 'author': 'Jane Austen', 'pages': 432}]
  assert store_books([['The Great Gatsby', 'F. Scott Fitzgerald', 218], ['Moby-Dick', 'Herman Melville', 585]])==[{'title': 'The Great Gatsby', 'author': 'F. Scott Fitzgerald', 'pages': 218}, {'title': 'Moby-Dick', 'author': 'Herman Melville', 'pages': 585}]
output: def store_books(books):
      return [{'title': book[0], 'author': book[1], 'pages': book[2]} for book in books]