Introduction to Computation and Programming Using Python, second edition: With Application to Understanding Data
amazon.com
Introduction to Computation and Programming Using Python, second edition: With Application to Understanding Data

The primitive constructs in Python include literals (e.g., the number 3.2 and the string 'abc') and infix operators (e.g., + and /).
Strings are one of several sequence types in Python.
9.3 Some Important Complexity Classes
However, the fundamental idea of programming as the process of assembling a sequence of operations remains central.
The semantics of a language associates a meaning with each syntactically correct string of symbols that has no static semantic errors.
10 SOME SIMPLE ALGORITHMS AND DATA STRUCTURES
4 FUNCTIONS, SCOPING, AND ABSTRACTION
bool is used to represent the Boolean values True and False.