Summer reading

Report a typo

You are given a collection of books for summer reading, and you want to read them from shortest to longest. Figure out the order and print the title of the book you will read first and the book that you will read last on separate lines.

The book collection is already defined in the form of a dictionary, which is stored in the variable books. Keys are book titles and values are pages counts as integer numbers.

Write a program in Python 3
import operator

# find the shortest book and print its title
# find the longest book and print its title
___

Create a free account to access the full topic