Python for Everyone, 3rd Edition is an introduction to programming designed to serve a wide range of student interests and abilities, focused on the essentials, and on effective learning. It is suitable for a first course in programming for computer scientists, engineers, and students in other disciplines. This text requires no prior programming experience and only a modest amount of high school algebra. Objects are used where appropriate in early chapters and students start designing and implementing their own classes in Chapter 9. New to this edition are examples and exercises that focus on various aspects of data science.
Table of Contents
Chapter 1 IntroductionChapter 2 Programming with Numbers and Strings
Chapter 3 Decisions
Chapter 4 Loops
Chapter 5 Functions
Chapter 6 Lists
Chapter 7 Files and Exceptions
Chapter 8 Sets and Dictionaries
Chapter 9 Objects and Classes
Chapter 10 Inheritance
Chapter 11 Recursion
Chapter 12 Sorting and Searching
Appendix A Python Operator Summary
Appendix B Python Reserved Word Summary
Appendix C The Python Standard Library
Appendix D The Basic Latin and Latin-1 Subsets of Unicode
Appendix E Binary Numbers and Bit Operations
Appendix F HTML Summary