This is the second edition of John Zelle's Python Programming, updated for Python 3. This book is designed to be used as the primary textbook in a college-level first course in computing. It takes a fairly traditional approach, emphasizing problem solving, design, and programming as the core skills of computer science. However, these ideas are illustrated using a non-traditional language, namely Python. Although Python is used as the language, teaching Python is not the main point of this book. Rather, Python is used to illustrate fundamental principles of design and programming that apply in any language or computing environment. In some places, I have purposely avoided certain Python features and idioms that are not generally found in other languages. There are already many good books about Python on the market; this book is intended as an introduction to computing. Features include the following: *Extensive use of computer graphics. *Interesting examples. *Readable prose. *Flexible spiral coverage. *Just-in-time object coverage. *Extensive end-of-chapter problems.
chapter1 computers and programs
chapter2 writing simple programs
chapter3 computing with numbers
chapter4 objects and graphics
chapter5 sequences: strings, lists and files
chapter6 defining functions
chapter7 decision structures
chapter8 loop structures and booleans
chapter9 simulation and design
chapter10 defining classes
chapter11 data collections
chapter12 object-oriented design
chapter13 algorithm design and recursion


雷达卡



京公网安备 11010802022788号







