September 2006
Intermediate to advanced
1136 pages
26h 5m
English
The primary focus of this chapter are Python’s conditional and looping statements, and all their related components. We will take a close look at if, while, for, and their friends else, elif, break, continue, and pass.
if StatementThe if statement for Python will seem amazingly familiar. It is made up of three main components: the keyword itself, an expression that is tested for its truth value, and a code suite to execute ...
Read now
Unlock full access