Taking a student-friendly, interactive approach to teach computing, this text enables students to quickly learn computing without having to use loops, variables, and object abstractions at the start. Requiring no prior programming experience, the book draws on Python's flexible data types and operations as well as its capacity for defining new functions. Along with the specifics of Python, the author covers important concepts of computing. A companion website provides many supplementary materials.
Inhaltsverzeichnis
Motivation and Background: Inspirations of Computing. Preview of Computing with Python. General Landscape of Computing Languages. Python Setup. Functional-Style Python: Types. Operators. Expressions. Printing. Functions I. Functions II. Conditional Logic. Slice, Split, Join. Comprehensions. Functional Patterns. Imperative-Style Python: Names for Data. Functions and Variables. Mutation. Modules. Repetition. Documentation. Debugging. Accumulation Loop Patterns. Search Loop Patterns. Drawing. Input and Output. Network Programs. Objects, Classes, and Inheritance. Randomness, Time, and System Modules. Graphical User Interfaces. Appendices. Index.