IBM interview question

python star printing question and agile