What is syntax errors in programming language

 𝕎𝕙𝕒𝕥 𝕚𝕤 𝕤𝕪𝕟𝕥𝕒𝕩 𝕖𝕣𝕣𝕠𝕣𝕤 𝕚𝕟 𝕡𝕣𝕠𝕘𝕣𝕒𝕞𝕞𝕚𝕟𝕘 𝕝𝕒𝕟𝕘𝕦𝕒𝕘𝕖

Let's see today's agenda
  1. What is syntax errors in programming languages
  2. What is syntax
  3. Exercise
  4. Conclusion
𝘚𝘰 𝘧𝘪𝘳𝘴𝘵 𝘰𝘧 𝘢𝘭𝘭 𝘐 𝘢𝘮 𝘮𝘰𝘩𝘪𝘵 𝘒𝘶𝘮𝘢𝘳 𝘢𝘯𝘥 𝘐 𝘸𝘦𝘭𝘤𝘰𝘮𝘦 𝘺𝘰𝘶 𝘵𝘰 𝘢𝘭𝘭 𝘪𝘯 𝘮𝘺   𝘣𝘭𝘰𝘨 𝘴𝘰 𝘩𝘦𝘳𝘦 𝘐 𝘥𝘪𝘴𝘤𝘶𝘴𝘴 𝘢𝘣𝘰𝘶𝘵 𝘸𝘩𝘢𝘵 𝘪𝘴 𝘴𝘺𝘯𝘵𝘢𝘹 𝘦𝘳𝘳𝘰𝘳𝘴 𝘢𝘯𝘥 𝘩𝘰𝘸 𝘵𝘰 𝘴𝘰𝘭𝘷𝘦 𝘵𝘩𝘦𝘮
𝘚𝘰 𝘧𝘪𝘳𝘴𝘵 𝘰𝘧 𝘢𝘭𝘭 𝘸𝘦 𝘯𝘦𝘦𝘥 𝘵𝘰 𝘶𝘯𝘥𝘦𝘳𝘴𝘵𝘢𝘯𝘥 𝘸𝘩𝘢𝘵 𝘪𝘴 𝘴𝘺𝘯𝘵𝘢𝘹? 
What is syntax errors in programming language


what is syntax? 

So in programming language syntax basically a why of writing that allowing by programming language
So now we understand what is syntax

So now we discuss about syntax error in vario What is syntax error in python?  us programming languages so let's start:>

What is syntax error in python? 

So basically syntax error is raised when python translating our work or code into bytes
They indicate there is something wrong with this code 
and then we found an error named syntax error

So how to solve the syntax error

So if you want to solve your syntax error you need to know about the syntax if you know the syntax then you can solve the syntax error so let's understand the python syntax to solve the python error:

How to solve syntax error in python
Syntax error raised
Invalid syntax
Because I put a collen (:) behind the c statement
So if you put a wrong indentation and wrong symbol at the wrong place you will get the same as syntax error
𝗛𝗲𝗿𝗲 𝘆𝗼𝘂 𝘀𝗲𝗲 𝗮𝗻𝗼𝘁𝗵𝗲𝗿 𝗲𝘅𝗮𝗺𝗽𝗹𝗲  𝗼𝗳 𝘀𝘆𝗻𝘁𝗮𝘅 𝗲𝗿𝗿𝗼𝗿
This program will check if user age is =18 or greater than 18 then the program print(you are illigible for voting) 
If age is lesser than it will print(you are not illegible for voting
So what mistake I made let's check
What is syntax error in programming language

Here also syntax  error raised
Because I put(;) on the place of (:) 
So if I put the symbols their required place why python or even every programming language

Errors are not our enemy it's our friend they doesn't come they come when we invite them


So now what is the answer of this question
What is syntax error in programming language
The short and simple answer is that if you put right indentation and follow the syntax of python
For example you ; in( if) you will get the error 
Or syntax error is also raised by extra tab or space in your code
So before debugging you need to check out the code

If you want to learn python from scratch
Then don't miss this PDF 
Download this PDF now for better understanding of python

Python cheatsheet


Popular posts from this blog

Object oriented programming in python

what we can do with python programming