Computer Science
What is the common structure of Python compound statements?
Python Control Flow
39 Likes
Answer
The common structure of a Python compound statement is as shown below:
<compound statement header>:
<indented body with multiple simple\
and/or compound statements>
It has the following components:
- A header line which begins with a keyword and ends with a colon.
- A body containing a sequence of statements at the same level of indentation.
Answered By
20 Likes