Question PRG-PY-0039
EasyHow does Python mark which statements belong to a block, such as a loop body?
- A.
By indentation
- B.
By semicolons
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Python question
How does Python mark which statements belong to a block, such as a loop body?
By indentation
By semicolons
Sign up free to see the answer and a step-by-step explanation.
By the keywords begin and end
By curly braces { }