Capital One interview question

Review this code, What does it do? What's wrong with it? How would you improve it?

Interview Answer

Anonymous

6 May 2024

Pointed out all the issues I could see and suggested fixes. Issues were extremely obvious (hard coded variables, global scope, python anti patterns, etc...)