πŸ”₯ Welcome to my blog! Latest updates available now. Visit daily! πŸ”₯ πŸ”₯ Click Here for Latest Updates – Visit My Blog πŸ”₯
πŸ”₯ Latest Updates πŸ“Š GP Grade Finder πŸ“’ Government Services Info πŸ†• New Schemes Updates

Syntax Errors in Python



πŸ‘‰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

Quatation of the Day 22-03-2026