codeGK
Code it ALL
Syntax in Python - CodeGK

♦ Syntax in Python

♣ Example1: Syntax in Python

Let us take a simple if condition and explain the basic syntax.
Example
Input:
Output:
Indentation is very important in Python, without Indentation the program will not be compiled
Here there is a Indentation before print statement(a "single tab" here)