Compound
statements typically span multiple lines and start with a one-line header ending
in a colon, which identifies the type of statement.
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open itPython code is a sequence of statements. A simple statement is a
single line that doesn't end in a colon. A compound statement is so called
because it is composed of other statements (simple and compound). Compound
statements typically span multiple lines and start with a one-line header ending
in a colon, which identifies the type of statement. Together, a header and an
indented suite of statements is called a clause. A compound statement consists
of one or more clauses:Original toplevel document
1.5 Controlver, much of the interesting work of computation
comes from evaluating expressions. Statements govern the relationship among
different expressions in a program and what happens to their results.
1.5.2 Compound Statements
In general, <span>Python code is a sequence of statements. A simple statement is a
single line that doesn't end in a colon. A compound statement is so called
because it is composed of other statements (simple and compound). Compound
statements typically span multiple lines and start with a one-line header ending
in a colon, which identifies the type of statement. Together, a header and an
indented suite of statements is called a clause. A compound statement consists
of one or more clauses:
<span>:
...
:
...
...
We can understand tSummary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details