Chapter 1
Python Primer
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.1 Python Overview
Building data structures and algorithms requires that we communicate detailed instructions to a computer. An excellent way to perform such communications is using a high-level computer language, such as Python. The Python programming language was originally developed by Guido van Rossum in the early 1990s, and has since become a prominently used language in industry and education. The second major version of the language, Python 2, was released in 2000, and the third major version, Python 3, released in 2008. We note that there are significant incompatibilities between Python 2 and ...
Get Data Structures and Algorithms in Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.