Python Syntax
the python syntax means a set of rules and regulations must be followed by the while writing code was syntax.
Statement: is a python instruction which python engine can execute.
Types of statement:-
1)Single Statement in single line
2)Multiple statement in singleline
3)Multiple Statements in multiple line
4)Single Statement in multiple line
- Single Statement in single line:
Single statment in single line means a single instruction is written in one line that statment in single line.
2. Multiple statement in single line:
Get RAGHU Vanaparthi’s stories in your inbox
Join Medium for free to get updates from this writer.
Multiple statements in single line was More than one statement we use semicolon(;) to separate the statements.
3)Multiple Statements in multiple line:
Multiple statement are written multiple lines.
4)Single Statement in multiple line:
A single statement is divided into multiple line by using brackets ()or backslash\.




