×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

In Python, ___ defines a block of statements

33. In Python, ___ defines a block of statements.

  1. Block
  2. Loop
  3. Indentation
  4. None of the mentioned above

Answer: C) Indentation

Explanation:

Python's concept of indentation is extremely important because, if the Python code is not properly indented, we will encounter an Indentation Error and the code will not be able to be successfully compiled. In Python, to indicate a block of code, we must indent each line of the block by the same amount on each line of the block. As a result, indentation denotes the beginning of a block of statements.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.