Atlas Copco Group interview question

he asked me Python program