Explore a vast range of topics and get informed answers at IDNLearn.com. Our Q&A platform offers reliable and thorough answers to help you make informed decisions quickly and easily.

Edhesive 6.2

Examine the code below. When this program runs, how many times will the word "Hello" be printed?

import simplegui

def draw(canvas):
for i in range (10):
canvas.draw_text("Hello", (10, 25 + 20*I), 20, "red")

frame = simplegui.create_frame("Testing", 400, 400)
frame.set_draw_handler(draw)
frame.start()