Final answer:
Indentation is used in code to make it easier to read and understand. It visually separates blocks of code and shows the hierarchical structure.
Step-by-step explanation:
Indentation is used in code to make the code easier to read and understand. It helps to visually separate blocks of code and shows the hierarchical structure of the code. Indentation is not used to create a pattern or hide code segments. There are no specific colors or numbers used for indentation, but developers commonly use spaces or tabs to indent code.
Programmers use indentation to understand the structure of their programs to human readers. Especially, indentation is the better way to represent the relationship between control flow constructs such as selection statements or loops and code contained within and outside them.
Indentation, the much-maligned formatting technique, provides readers with a sense of continuity. Indentations signal to the reader that she is about to dive into another topic or start a new section of a novel.