figure - exception handling doesn' ensure that the value is in the cor rect range perform steps and againbut type instead of hello this timethe application finally reports that you've provided correct value of even though it seems like lot of work to perform this level of checkingyou can' really be certain that your application is working correctly without it perform steps and againbut press ctrl+ccmd+cor the alternative for your platform instead of typing anything the application generates keyboardinterrupt exceptionas shown in figure - because this exception isn' handledit' still problem for the user you see several techniques for fixing this problem later in the using the except clause without an exception you can create an exception handling block in python that' generic because it doesn' look for specific exception in most casesyou want to provide specific exception when performing exception handling for these reasonsto avoid hiding an exception you didn' consider when designing the application to ensure that others know precisely which exceptions your application will handle to handle the exceptions correctly using specific code for that exception