- A Key
- B Brackets
- C Indentation
- D None of these
- Share this MCQ
Answer:
C
Share this MCQ
In Python, indentation is used to indicate which lines of code belong to the same block.
This is in contrast to languages like C, C++, and Java, which use curly braces to define blocks of code.
In these languages, the curly braces indicate the beginning and end of a block of code, and the code within the curly braces is indented to show that it belongs to the block.
Share this MCQ