Mapgears interview question

Short python question about loops