Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours

(singke) #1
often desirable for each exception to have its own except statement block.



  1. exception; traceback




  2. Answer b is correct. A finally statement block is executed when exceptions are raised and
    when they are not raised, and an else statement block is executed only when no exceptions are
    raised.



Free download pdf