Canva interview question

Python coding advanced trick not easy