ABSTRACT

A Functional Start to Computing with Python enables students to quickly learn computing without having to use loops, variables, and object abstractions at the start. Requiring no prior programming experience, the book draws on Python's flexible data types and operations as well as its capacity for defining new functions. Along with the specifics of

part I|2 pages

Motivation and Background

chapter 1|4 pages

Inspirations of Computing

chapter 2|6 pages

Preview of Computing with Python

chapter 3|4 pages

General Landscape of Computing Languages

chapter 4|6 pages

Python Setup

part II|2 pages

Functional-Style Python

chapter 5|16 pages

Types

chapter 6|14 pages

Operators

chapter 7|14 pages

Expressions

chapter 8|12 pages

Printing

chapter 9|12 pages

Functions I

chapter 10|26 pages

Functions II

chapter 11|14 pages

Conditional Logic

chapter 12|10 pages

Slice, Split, Join

chapter 13|16 pages

Comprehensions

chapter 14|20 pages

Functional Patterns

part III|2 pages

Imperative-Style Python

chapter 15|12 pages

Names for Data 182

chapter 16|10 pages

Functions and Variables

chapter 17|10 pages

Mutation

chapter 18|12 pages

Modules

chapter 19|20 pages

Repetition

chapter 20|12 pages

Documentation

chapter 21|10 pages

Debugging

chapter 22|12 pages

Accumulation Loop Patterns

chapter 23|10 pages

Search Loop Patterns

chapter 24|6 pages

Drawing

chapter 25|28 pages

Input and Output

chapter 26|12 pages

Network Programs

chapter 27|16 pages

Objects, Classes, and Inheritance

chapter 28|10 pages

Randomness, Time, and System Modules

chapter 29|22 pages

Graphical User Interfaces

part IV|2 pages

Appendices

chapter 30|4 pages

Advanced Topics

chapter 31|10 pages

Solutions to ✰-Exercises

chapter 32|13 pages

Reference Tables