Skip to content
Sharp

Python Fundamentals · interview question

What is the clearest sign that code around variables and names should be refactored?

Multiple choiceEasychapter-1-curatedpremiumpython-fundamentalsvariables-and-names
Choose one answer
Answer and explanation

Correct answer

C. When the rule is no longer easy to trace, explain, or change without breaking nearby behavior.

Why

A refactor is justified when the code stops communicating its intent. Bind names to domain meaning so the script explains itself while you debug or review it.

Test yourself on Python Fundamentals

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

Start free test
All Python Fundamentals questions →