This study investigates the use of comic books (HQs) developedwith the help of generative artificial intelligence (AI) and promptengineering (EP) techniques for teaching Python programming.The methodology includes generating scripts, dialogues, andillustrations through AI, with expert technical review. Qualitativeresearch examines how visual elements can aid in the understandingof programming concepts. Preliminary results point to theeffectiveness of this approach in enhancing student comprehension,indicating the potential of comic books as a teaching resource.Future research will assess its comparative effectiveness totraditional methods and explore the applicability of differentgenerative models and programming languages.