COnditional execution video

At the 1:10:59

i did not understand

How do i use indetation to increase or maintain any program??

Please reply.

In Python, the indentation is enforced. The way we say that a particular line is in a block, we keep its indentation same as the rest of the block. Look at the following block:

In the screenshot above, the print in line number 6 is not part of else block because it doesn’t have the same indentation as “print” in line 5.

In a other programming languages such as C, a block is defined by curly brackets.

In C language, the entire code can be a single line. Therefore, the code could become very unreadable. Here is the same code defined above without indentation:

So, code of python program is very readable. I hope it made sense to you.