Chapter 6: Problem 35
You are given a table of values that give the height of a terrain at different points in a square. Write a function def floodMap (heights, waterLevel) that prints out a flood map, showing which of the points in the terrain would be flooded if the water level was the given value. In the flood map, print a = for each flooded point and a space for each point that is not flooded.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.