Chapter 3. Statements, expressions and functions

Table of Contents

3.1. Statements
3.2. Sequences or chaining statements
3.3. Conditionals
3.4. Iterations
3.5. Functions
3.6. Operations
3.7. Composition and Evaluation of Expressions

3.1. Statements

In our first practical lesson, the first thing we did, was the invocation of the Python interpreter. During the first session we entered statements that were read, analyzed and executed by the interpreter.


Statements are instructions or commands that the Python interpreter can execute. Each statement is read by the interpreter, analyzed and then executed.