Part I: Fundamentals

Part I: Fundamentals#

Programming begins with expressions and stored values, then grows into decisions, repetition, and reusable functions. This part works in the imperative paradigm, where a program is a sequence of commands that change state, and establishes the Python skills you will use to read, write, and check the programs in the rest of the book.

Conceptual Arc

Begin with Introduction. Continue through Syntax and Types, Control Flow, Functions. Finish with Exceptions & Testing.

Chapters in This Part

Introduction

Syntax and Types

Topics: Variables and Objects; Python Operators; Built-in Types.

Control Flow

Functions

Topics: Defining Functions; Function Design.

Exceptions & Testing

Using This Overview

Open a chapter above for its learning objectives, explanations, and activities. Follow your course schedule when selecting chapters and assignments.