Please enable JavaScript to use CodeHS

Chapter 4

Functions and Exceptions

4.5 Exceptions

Exceptions

Try and Except

Enter a Number

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Enter a Negative Number