the following steps demonstrate how to perform exception handling using multiple except clauses this example also appears with the downloadable source code as multipleexception py open python file window you see an editor in which you can type the example code type the following code into the window -pressing enter after each linetryvalue int(input("type number between and ")except valueerrorprint("you must type number between and !"except keyboardinterruptprint("you pressed ctrl+ !"elseif (value and (value < )print("you typed"valueelseprint("the value you typed is incorrect!"notice the use of multiple except clauses in this case each except clause handles different exception you can use combination of techniqueswith some except clauses handling just one exception and other except clauses handling multiple exceptions python lets you use the approach that works best for the error-handling situation choose runrun module you see python shell window open the application asks you to type number between and type hello and press enter the application displays an error message (refer to figure - perform steps and againbut type instead of hello the application outputs the expected range error message (refer to figure - perform steps and againbut press ctrl+ccmd+cor the alternative for your platform instead of typing anything the application outputs specific message that tells the user what went wrongas shown in figure - perform steps and againbut type instead of hello this timethe application finally reports that you've provided correct value of