Think Python /
Allen B. Downey.
- Second edition.
- xx, 268 pages : illustrations ; 24 cm.
"How to think like a computer scientist" -- Cover. "Updated for Python 3"--Cover.
Includes index.
Preface -- 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. The Goodies -- 20. Debugging -- 21. Analysis of Algorithms
Think Python is a concise introduction to software design using the Python programming language. Intended for people with no programming experience, this book starts with the most basic concepts and gradually adds new material. Some of the ideas students find most challenging, like recursion and object-oriented programming, are divided into a sequence of smaller steps and introduced over the course of several chapters. This textbook has been used in classes at Bard College,Olin College of Engineering, University of California, Santa Barbara, University of Maine, University of Northern Colorado.
9781491939369
2016448127
Python (Computer program language).--Handbooks, manuals, etc.