0
Why can you get so many errors in code?
To many errors
2 Answers
0
errors can occur due to two main reasons. first is syntactic error. which means the coffee you've written contains syntax error. e.g.. print ('hi' will throw error as the closing braces is no given which is part of the python syntax.
The second type of error is semantic error. which is issue in the program logic. though you've written a syntactically correct program you might get semantic error. in other words you will get output but the answer will be wrong. hope this helps!
0
syntax errors , declaration errors, memory errors,etc