KPMG Interview Question

Python code and about live project