Skip to content
Sharp

Python Internals · interview question

Which explanation would sound strongest in an interview when discussing properties and descriptors?

Multiple choiceHardchapter-19-curatedpremiumpython-internalsproperties-and-descriptors
Choose one answer
Answer and explanation

Correct answer

B. Use properties or descriptor-like behavior when attribute access needs one clear layer of logic or validation. Good answers mention explicit boundaries and surprise minimization.

Why

Interviewers usually care less about keywords than about whether you can explain why the code is shaped the way it is.

Test yourself on Python Internals

A free test with instant, explained results. No account needed.

Start free test
All Python Internals questions →