What is the common structure of Python compound statements?
Question :
What is the common structure of Python compound statements?
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.