Register - Login - Forgotten Password

Lesson 25: Handling Python Errors Without Crashing

A programme asks for a number, but someone enters unexpected text: must the whole programme stop? The answer depends on when Python discovers the problem and what kind of problem it is. This section distinguishes syntax errors, runtime exceptions and bugs, so it becomes clear what exception handling can—and cannot—solve.

Lesson 25: Handling Python Errors Without Crashing

This lesson just one in the category Python Programming Level 1. To access this lesson you need to have a valid learner account, ask your parent to register you now.