C-17-Q121mediumsingle_mcq
In the if statement of Python, the body is identified by:
In the if statement of Python, the body is identified by:
- aCurly braces
{ ... } - bIndentation
- cThe keyword
do - dSquare brackets
ব্যাখ্যা
Python does not use braces or keywords to delimit blocks; it relies on whitespace. The statements indented under the if header form its body, and the indentation itself marks where the block begins and ends.