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.
On this page of the site you can watch the video online Errors and Exceptions in Python || Syntax Errors || Logical Errors with a duration of hours minute second in good quality, which was uploaded by the user Ddhruv Arora 18 October 2021, share the link with friends and acquaintances, this video has already been watched 32 times on youtube and it was liked by 8 viewers. Enjoy your viewing!