Catching errors with try and except
Some errors are going to happen, like a typo in a number. try and except let your program handle them and keep running instead of crashing.
Code
Inside: 2 short explanations, a runnable example and 1 checked exercise.
See what’s includedAlready have Brainlag Code? Sign in