Book contents
- Frontmatter
- Contents
- Preface
- Python for Software Design
- 1 The Way of the Program
- 2 Variables, Expressions, and Statements
- 3 Functions
- 4 Case Study: Interface Design
- 5 Conditionals and Recursion
- 6 Fruitful Functions
- 7 Iteration
- 8 Strings
- 9 Case Study: Word Play
- 10 Lists
- 11 Dictionaries
- 12 Tuples
- 13 Case Study: Data Structure Selection
- 14 Files
- 15 Classes and Objects
- 16 Classes and Functions
- 17 Classes and Methods
- 18 Inheritance
- 19 Case Study: Tkinter
- Appendix
- Index
16 - Classes and Functions
Published online by Cambridge University Press: 05 June 2012
- Frontmatter
- Contents
- Preface
- Python for Software Design
- 1 The Way of the Program
- 2 Variables, Expressions, and Statements
- 3 Functions
- 4 Case Study: Interface Design
- 5 Conditionals and Recursion
- 6 Fruitful Functions
- 7 Iteration
- 8 Strings
- 9 Case Study: Word Play
- 10 Lists
- 11 Dictionaries
- 12 Tuples
- 13 Case Study: Data Structure Selection
- 14 Files
- 15 Classes and Objects
- 16 Classes and Functions
- 17 Classes and Methods
- 18 Inheritance
- 19 Case Study: Tkinter
- Appendix
- Index
Summary
![Image of the first page of this content. For PDF version, please use the ‘Save PDF’ preceeding this image.'](https://static.cambridge.org/content/id/urn%3Acambridge.org%3Aid%3Abook%3A9780511813832/resource/name/firstPage-9780511813832c16_p182-188_CBO.jpg)
- Type
- Chapter
- Information
- Python for Software DesignHow to Think Like a Computer Scientist, pp. 182 - 188Publisher: Cambridge University PressPrint publication year: 2009