Despite its title, Chapter 5 has little to do with earthquakes, floods, and natural disasters—unless one considers the stock market to be a natural disaster, but then, if that's a disaster, it's a human-made one, right?
The chapter covers a hodge-podge of topics:
while statement that enables us to use this concept in Python, and list comprehensions, which allow us to create lists by describing their contents rather than prescribing how to build them from data.while statement