+ 1
What is the difference between Name error,Type error and Syntax error ?
Whenever we make mistakes in coding and try to excecute the program it shows one of those errors mentioned above .Discuss the major differences between them.
3 odpowiedzi
+ 1
Is this python?
+ 3
Remember Name error and Type error are exceptions that can be caught by using try: / except:
You can't do that with Syntax error because it prevents the code from running at all, including the try: statement.
+ 1
Well if this is python look at this article.
https://www.tutorialsteacher.com/python/error-types-in-python
Summary is at its table.