Think Python: how to think like a computer scientist /
Allen B. Downey.
- 3rd ed.
- xvii, 306 p : ill ; 24 cm
"How to think like a computer scientist" -- Cover.
Includes index.
The way of the program -- Variables, expressions and statements -- Functions -- Case Study: Interface design -- Conditionals and recursion -- Fruitful functions -- Iteration -- Strings -- Case study: Word play -- Lists -- Dictionaries -- Tuples -- Case study: Data structure selection -- Files -- Classes and objects -- Classes and functions -- Classes and methods -- Inheritance -- The goodies -- Debugging -- Analysis of algorithms.