Let's cover exceptions, why they're important, and what our code would look like without them. Then we'll thoroughly examine the try statement, along with the except and else blocks, and even cover the finally block. We'll look at how to raise exceptions, as well as catalog some of the exceptions you've seen and what they mean. Finally, we'll convert our fibonacci and factorial functions to take advantage of exceptions in Python.
Introduction to Functions: • Introduction to Functions (Theory of Pytho...
Flow Control with If Statements: • Flow Control with If Statements (Theory of...
Join me on Discord: / discord
Support me by buying from Amazon through my affiliate link: https://amzn.to/2FBNVwA
Here's my Patreon account if you want to give me money: / realphysics
Other ways to support Real Physics: • How to Support Real Physics
Playlist: • Theory of Python
Thank you!
Sur cette page du site, vous pouvez voir la vidéo en ligne Python Try Statement and Exceptions (Theory of Python) (Python Tutorial) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Real Physics 24 juillet 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 811 fois et il a aimé 35 téléspectateurs. Bon visionnage!