✐
✐
“91974˙CH11˙final” — 2012/12/14 — 14:34 — page 367 — #1
✐
✐
✐
✐
✐
✐
CHAPTER
11
Bears, Fish, and Plants, Oh My!
11.1 Objectives
To explore classes and objects further
To design a large multiclass application
To implement a graphical simulation using objects
11.2 Bears and Fish
Yellowstone National Park is one of the most famous natural places in the United States.
People have been visiting the park for many years hoping to see the Old Faithful geyser,
the Yellowstone River waterfalls, and, of course, the bears.
For years it was common to see bears along roads and in park campgrounds. Unfortunately,
many tourists failed to realize that these great creatures w
Get Python Programming in Context, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.