πIn any programming language there are two types of errors.
1. Syntax Errors
2. Runtime Errors
1. Syntax Errors:
πThe errors which occurs because of invalid syntax are called syntax errors.
Ex: x=10
if x==10
print("Hello")
SyntaxError: invalid syntax
Ex:
print "Hello"
SyntaxError: Missing parentheses in
call to 'print' function.
✅Note:
Programmer is responsible to correct
these syntax errors.Once all syntax errors
corrected then only program execution
will be started.

No comments:
Post a Comment
Thank you Very Much.For Given Comment