Catching an exception lets a program recover from a problem instead of stopping: ask again for a number, skip a bad record, use a default. Python gives four blocks for this, each with its own job, and knowing which is for what is most of the skill.
More lessons in Complete Python Programming