1. Unpack a book record
Write code Easy ✓ CompletedUnpack the tuple book into three variables called title, author and year in one line, then print them as:
Dune by Frank Herbert (1965)
book = ("Dune", "Frank Herbert", 1965)
# unpack book here, then print the sentence
book = ("Dune", "Frank Herbert", 1965)
title, author, year = book
print(f"{title} by {author} ({year})")