What does it mean to say that Python is dynamically typed?
Correct answer B. Types belong to objects and are checked at runtime, so a name can be rebound to a value of a different type
Explanation
In Python, names are just references to objects, and each object carries its own type. The same name can refer to an int and later to a str, and type errors appear when an operation is attempted at runtime. Python is still strongly typed: "3" + 4 raises TypeError rather than converting silently.
Answer checked How we write and check questions
Discussion