# ChapterGraphics/mouseHello.py # Write "HELLO" 10 times on the canvas where you click the mouse. from graphics import * def main(): win = GraphWin("Click HELLO", 400, 400) for i in range(10): pt = win.getMouse() #finds point where clicked myt = Text(pt, "HELLO").draw(win) main()