" ' typeerror must be not exceptions handling it is possible to write programs that handle selected exceptions in python we can use the following built-in exceptions handling featuresthe try block lets you test block of code for errors the except block lets you handle the error the finally block lets you execute coderegardless of the result of the tryand except blocks when an error occursor exception as we call itpython will normally stop and generate an error message these exceptions can be handled using the try except statements some basic example try except "the or try print (xexcept " not you can also use multiple exceptions try print (xe nameerror " not except something wrong the finally blockif specifiedwill be executed regardless if the try block raises an error or not example