def drawRect(lineString): # lineString is a dictionary # len(lineString) = 40 for j in range(0,len(lineString)): print(j) i = lineString