try and except
Premium
Programs crash when something unexpected happens, like dividing by zero or converting bad text to a number. The try and except keywords let you catch these problems and keep your code running.
Programs crash when something unexpected happens, like dividing by zero or converting bad text to a number. The try and except keywords let you catch these problems and keep your code running.