CrelioHealth interview question

Python length manipulation, output of the programs