CBSE Class 10 Computer Applications
Question 5 of 26
Python Conditionals and Loops — Question 3
Back to all questions 3
Question Question 3
Which of the following is used to define a block of code (e.g., body of if or body of a loop) in Python ?
- { }
- ( )
- indentation
- Quotation
indentation
Reason — Indentation is used to define a block of code in Python.