Published in


Exceptions Handling in Python

Photo by Nathan Dumlao on Unsplash


In the process of programming, we will always encounter various errors. Some errors are caused by our code. Such as syntax error. This kind of error is usually called a bug. The bug must be fixed.

However, a bug-free program still may occur problems. Because some errors are not caused by our code. They may be caused by accidental situations or operations. This type…



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yang Zhou

Full-Stack Engineer 🥷| Top Writer🏆 (Over 1.3 Million Views)