Errors and Exceptions in Python || Syntax Errors || Logical Errors

Pubblicato il: 18 ottobre 2021
sul canale di: Ddhruv Arora
32
8

In this video, I have discussed about Errors in python.

An error is basically a mistake or problem in code because of which it will crash or terminate unexpectedly.

We can have mainly two types of Errors:
1. Syntax errors
2. Logical errors

Syntax Errors are easy to find and fix, they can be found before executing code also.

As Logical errors are syntactically correct to they are hard to find and fix, also they can be found only on run-time.

The Piece of code used: print(dir(locals()['__builtins__']))

For Catching and handling unhandled exceptions and errors we have exception handling in python.

Tip: Try to find out more logical errors in python and their fix too.

Thank you for watching and reading.

Learning happily is the way to success.

Happy Coding ahead 👨‍🎓🌟✨

#python #pythonprogramming #coding #learning #teaching #youtuber #pythonfrombasics.


In questa pagina del sito puoi guardare il video online Errors and Exceptions in Python || Syntax Errors || Logical Errors della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Ddhruv Arora 18 ottobre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 32 volte e gli è piaciuto 8 spettatori. Buona visione!