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.


Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad