Chapter 1 - | Introduction | x |
| Hello! | x |
| Downloading and Installing Python | x |
|
Chapter 2 - | "Hello World!" - Your First Program | x |
| Starting the Python Interpreter | x |
| Some Simple Math Stuff | x |
| Evaluating Expressions | x |
| Variables | x |
| Strings | x |
| Writing Programs | x |
| Hello World! | x |
| "My Favorite Stuff" | x |
| Crazy Answers and Crazy Names for our Favorite Stuff | x |
| Capitalizing our Variables | x |
|
Chapter 3 - | Guess the Number | x |
| Source Code | x |
| Arguments | x |
| Blocks | x |
| Conditions and Booleans | x |
| if Statements | x |
| Step by Step, One More Time | x |
| Some Changes We Could Make | x |
| What Exactly is Programming? | x |
| A Web Page for Program Tracing | x |
|
Chapter 4 - | Jokes | x |
| How Programs Run on Computers | x |
| Source Code | x |
| Some Other Escape Characters | x |
| Quotes and Double Quotes | x |
|
Chapter 5 - | Dragon World | x |
| Source Code | x |
| def Statements | x |
| Boolean Operators | x |
| Variable Scope | x |
| Parameters | x |
| Local Variables and Global Variables with the Same Name | x |
| Where to Put Function Defintions | x |
| The Colon : | x |
| Step by Step, One More Time | x |
| Designing the Program | x |
| A Web Page for Program Tracing | x |
|
Chapter 6 - | Hangman | x |
| ASCII Art | x |
| Source Code | x |
| Designing the Program | x |
| Multi-line Strings | x |
| Constant Variables | x |
| Lists | x |
| Changing the Values of List Items with Index Assignment | x |
| List Concatenation | x |
| The in Operator | x |
| Removing Items from Lists with del Statements | x |
| Lists of Lists | x |
| Methods | x |
| The len() Function | x |
| The range() Function | x |
| for Loops | x |
| Strings Act Like Lists | x |
| List Slicing and Substrings | x |
| elif ("Else If") Statements | x |
| And that's it! | x |
| Dictionaries | x |
| Sets of Words for Hangman | x |
|
Chapter 7 - | Tic Tac Toe | x |
| Source Code | x |
| Designing the Program | x |
| Game AI | x |
| List References | x |
| Short-Circuit Evaluation | x |
| The None Value | x |
| A Web Page for Program Tracing | x |
|
Chapter 8 - | Bagels | x |
| Source Code | x |
| Augmented Assignment Operators | x |
| The sort() List Method | x |
| The join() String Method | x |
| String Interpolation | x |
|
Chapter 9 - | Sonar | x |
| Grids and Cartesian Coordinates | x |
| Negative Numbers | x |
| Changing the Signs | x |
| Absolute Values | x |
| Coordinate System of a Computer Monitor | x |
| Source Code | x |
| Designing the Program | x |
| The remove() List Method | x |
|
Chapter 10 - | Caesar Cipher | x |
| About Cryptography | x |
| ASCII, and Using Numbers for Letters | x |
| The chr() and ord() Functions | x |
| Source Code | x |
| The isalpha() String Method | x |
| The isupper() and islower() String Methods | x |
| Cryptanalysis | x |
| Brute Force | x |
|
Chapter 11 - | Othello | x |
| How to Play Othello | x |
| Source Code | x |
| The bool() Function | x |
| The random.shuffle() Function | x |
| Tips for Inventing Your Own Games | x |
|
Chapter 12 - | AI Simulation | x |
| "Computer vs. Computer" Games | x |
| Percentages | x |
| Integer Division | x |
| The round() Function | x |
| Learning New Things by Running Simulation Experiments | x |
|