Introduction
Python uses indentation (spaces or tabs) to group code together. This helps the computer know which lines belong together in a block.
When writing functions to group the steps inside them.
When using if-else statements to decide what code runs.
When creating loops to repeat actions multiple times.
When organizing code inside classes or methods.