You can always talk about a hobby project of yours if your day job is uninteresting or not readily marketable.
It's true that for some job interviews, an answer like in your example will make you lose points. However, for other jobs being able to fix and refactor legacy Python code may be just what they are looking after. Your interviewer might ask follow-up questions about code quality and cleanliness, how you made sure your refactor didn't break anything, etc.
It's true that for some job interviews, an answer like in your example will make you lose points. However, for other jobs being able to fix and refactor legacy Python code may be just what they are looking after. Your interviewer might ask follow-up questions about code quality and cleanliness, how you made sure your refactor didn't break anything, etc.