Which of the following does Python use to define a block of code, for example the body of a function or a loop?
- ACurly braces { }
- BThe keywords begin and end
- CSemicolons
- DIndentation
Correct answer: D
Which of the following does Python use to define a block of code, for example the body of a function or a loop?