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!
In questa pagina del sito puoi guardare il video online Python Try Statement and Exceptions (Theory of Python) (Python Tutorial) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Real Physics 24 luglio 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 811 volte e gli è piaciuto 35 spettatori. Buona visione!