Is indentation required in python?

Definitely , Python is meant to follow indentation .
It had made in such a way of telling interpreter that ,
a group of statements belongs to particular block of code.
White space is used for indentation.
All statements with the distance to the right belongs to the same block of code.

Example :

2 Likes

Yes, That is a correct explanation @kinnukeshiya

1 Like