Python isn't helpful for modeling this kind of stuff. In most languages, a variable is essentially a box for holding a value of a specific type. So you cannot assign a value to a variable if
the value doesn't have the type that the box was defined with. Although most such languages will perform safe conversions automatically, eg if you assign a 8 bit integer value to a 32 bit integer box. In contrast, in Python, a variable is just a nametag, with no intrinsic type. A Python object may have 1 or more nametags, or None, and its type is an intrinsic property of the object itself, not its namet…