So far we have made programs that ask the user to enter a string, and we also know how to convert that to an integer.
As Python developers, we've all been there – our script crashes with an ugly traceback and we scramble to fix it. But exceptions don't have to ruin our day! With a little finesse, we can use them to ...