Page 209 - Beginning Programming with Pyth - John Paul Mueller
P. 209

 FIGURE 10-1: Typing the wrong input type generates an error instead of an exception.
FIGURE 10-2: Exception handling doesn’t ensure that the value is in the correct range.
You may have to check for other sorts of issues, depending on the environment you choose to use for testing. For example, if you had been using IDLE instead of Notebook for testing purposes, pressing a
    































































































   207   208   209   210   211