runs the statements under the else line (if present)and control then resumes below the entire try statement in other wordsexcept clauses catch any matching exceptions that happen while the try block is runningand the else clause runs only if no exceptions happen while the try block runs exceptions raised are matched to exceptions named in except clauses by superclass relationships we'll explore in the next and the empty except clause (with no exception namematches all (or all otherexceptions the except clauses are focused exception handlers--they catch exceptions that occur only within the statements in the associated try block howeveras the try block' statements can call functions coded elsewhere in programthe source of an exception may be outside the try statement itself in facta try block might invoke arbitrarily large amounts of program code--including code that may have try statements of its ownwhich will be searched first when exceptions occur that istry statements can nest at runtimea topic 'll have more to say about in try statement clauses when you write try statementa variety of clauses can appear after the try header table - summarizes all the possible forms--you must use at least one we've already met some of theseas you knowexcept clauses catch exceptionsfinally clauses run on the way outand else clauses run if no exceptions are encountered formallythere may be any number of except clausesbut you can code else only if there is at least one exceptand there can be only one else and one finally through python the finally clause must appear alone (without else or except)the tryfinally is really different statement as of python howevera finally can appear in the same statement as except and else (more on the ordering rules later in this when we meet the unified try statementtable - try statement clause forms clause form interpretation exceptcatch all (or all otherexception types except namecatch specific exception only except name as valuecatch the listed exception and assign its instance except (name name )catch any of the listed exceptions except (name name as valuecatch any listed exception and assign its instance elserun if no exceptions are raised in the try block finallyalways perform this block on exit the try/except/else statement