FDM Group interview question

Basic Python questions