To answer this question you will learn to:
Understand what a comprehensions is and the conditions for use.
Translate a loop into a comprehension.
Executed nested comprehensions.
Integrate comprehensions with a data structure.
Practical - Comprehensions
Write a program to print out a new dictionary, which gives, for each room’s name, the number of people in it.
Solution to the Maze Population Exercise