Question
Which statement about Variables, References, and Mutability is the strongest interview answer?
- In Python, names bind to objects, so assignment creates or rebinds references rather than copying underlying values automatically.
- Variables, References, and Mutability is mostly a naming style choice and has little effect on runtime behavior or design tradeoffs.
- Variables, References, and Mutability exists mainly to reduce the number of files in a Python project.
- Variables, References, and Mutability matters only for frontend scripting and not for backend or automation code.
Hint
Start with the core rule behind Variables, References, and Mutability.
Answer and rationale
Correct answer: A. In Python, names bind to objects, so assignment creates or rebinds references rather than copying underlying values automatically.
In Python, names bind to objects, so assignment creates or rebinds references rather than copying underlying values automatically. This is the base concept interviewers commonly test first.
Track: Python