type and press enter you see the error message for the arithmeticerror exceptionas shown in figure - what you should actually see is the zerodivisionerror exception because it' more specific than the arithmeticerror exception figure - the order in which python processes exceptions is important reverse the order of the two exceptions so that they look like thisexcept zerodivisionerrorprint("attempted to divide by zero!"except arithmeticerrorprint("an undefined math error occurred " perform steps through again this timeyou see the zerodivisionerror exception message because the exceptions appear in the correct order perform steps through againbut type for the second number instead of this timethe application finally reports an output value of as shown in figure - notice that the output shown in figure - is floating-point value division results in floating-point value unless you specify that you want an integer output by using the floor division operator (//