Chapter 2: Building Abstractions with Objects

variables of many other types as well. You can inspect the type of a variable using the type() function. In Python, the word type and class mean the same thing (most of the time). The difference between a variable and the object it represents can get lost in our common speech because the variable is usually acting as the name of the object. ................
................