a beginer's book.
by kent lee, springer 2011
1. Introduction
2. Decision making
3. Repetitive Tasks
4. Using Objects
5. Defining Functions
6. Event-Driven Programming
7. Defining Classes
1. Introduction
2. Decision making
3. Repetitive Tasks
4. Using Objects
5. Defining Functions
6. Event-Driven Programming
7. Defining Classes
7.1 Creatingan Object ............................ 168
7.2 Inheritance ................................ 172
7.3 ABouncing Ball Example ........................ 178
7.4 Polymorphism............................... 180
7.5 Getting Hookedon Python ........................ 181
7.6 Review Questions............................. 184
7.7 Exercises ................................. 184
7.8 Solutionsto Practice Problems ...................... 190
AppendixA Integer Operators........................... 193
AppendixB Float Operators............................ 195
AppendixC String Operators and Methods ................... 197
AppendixD List Operators and Methods..................... 201
AppendixE Dictionary Operators and Methods . . . . . . . . . . . . . . . . . 203
AppendixF Turtle Methods ............................ 205
AppendixG Turtle Screen Methods ........................ 217
AppendixH The Reminder! Program....................... 225
AppendixI The BouncingBall Program ..................... 227
附件列表