Are you teaching or learning #Python? Have you heard about #ParsonsProblems?
I have made some Parsons puzzles with visual output, check it out:
https://abav.lugaralgum.com/python-parsons-visual/
Support my work! https://abav.lugaralgum.com/support-me/