Oct-05-2018, 02:56 PM
you can have a try: ... except ValueError ... finnaly ...
sequence for example.
if there is a ValueError raised during the try clause, the except clause will be executed, but not if there as an exception that is not a value error. In both cases, finally will be executed.
sequence for example.
if there is a ValueError raised during the try clause, the except clause will be executed, but not if there as an exception that is not a value error. In both cases, finally will be executed.