I l@ve RuBoard Previous Section Next Section

3.8 Summary

In this chapter, we explored Python's basic procedural statements:

We also studied Python's syntax rules along the way, looked at Boolean operators and truth tests, and talked a little about some general programming concepts in Python.

By combining basic statements, we are able to code the basic logic needed to process objects. In Chapter 4, we move on to look at a set of additional statements used to write functions, which package statements for reuse. In later chapters, we'll see more statements that deal with bigger program units, as well as exceptions. Table 3.5 summarizes the statement sets we'll be studying in the remaining chapters of this part of the book.

Table 3.5. Preview: Other Statement Sets

Unit

Role

Functions

Procedural units

Modules

Code/data packages

Classes

New objects

Exceptions

Errors and special cases

I l@ve RuBoard Previous Section Next Section