input: Write a function to store a list of books in a dictionary where each book has fields for title, author, and number of pages. The function should take a list of tuples as input, where each tuple contains the title, author, and number of pages, and return a list of dictionaries representing the books.
  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([('1984', 'George Orwell', 328), ('To Kill a Mockingbird', 'Harper Lee', 324)]) == [
    {'title': '1984', 'author': 'George Orwell', 'pages': 328},
    {'title': 'To Kill a Mockingbird', 'author': 'Harper Lee', 'pages': 324},
  ]
  assert store_books([]) == []
output: def store_books(books):
      return [{'title': title, 'author': author, 'pages': pages} for title, author, pages in books]