Data Structures and Algorithms in Python
by Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser
Contents
1.1.2 Preview of a Python Program
1.2.1 Identifiers, Objects, and the Assignment Statement
1.2.2 Creating and Using Objects
1.2.3 Python's Built-In Classes
1.3 Expressions, Operators, and Precedence
1.3.1 Compound Expressions and Operator Precedence
1.5.2 Python's Built-In Functions
1.6.1 Console Input and Output
1.9 Additional Python Conveniences
1.9.3 Packing and Unpacking of Sequences
1.11 Modules and the Import Statement
2.1 Goals, Principles, and Patterns
2.1.1 Object-Oriented Design Goals
2.1.2 Object-Oriented Design Principles
2.2.3 Coding Style and Documentation
2.3.1 Example: CreditCard Class
2.3.2 Operator Overloading and Python's Special Methods
2.3.3 Example: Multidimensional Vector Class
2.4.1 Extending the CreditCard Class
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access