#File: ChapterGraphics/fillTable.py """ Write the word "Ann" on the canvas. """ from graphics import * def main(): winW,winH = 400,400 win = GraphWin("turing",winW,winH) startx = 40 # starting for x rows starty = 30 # staring for y column stepx = 50 # distance between words in the row stepy = 25 # distance between rows name = "Ann" for i in range(5): #rows x = startx + stepx * i for j in range(6): y = starty + stepy * j msg = Text(Point(x,y), str(i)+name) msg.draw(win) main()