Understanding indentation is very important in python indentation refers to spaces that are used in the beginning of a statement. The statements with same indentation belong to same group called a suite.
By default python uses four spaces but it can be increased or decreased by the programmers. Consider the statements given below.
Example of Indentation
If x==1:
----print(‘a’)
----print(‘b’)
----if k==2:
--------print(‘c’)
--------print(‘d’)
Print(‘end’)