title: Multiple Entry widgets using a loop in Python tkinter
body: <p>I am making four Entry widgets in tkinter using a single loop. I got an error - could anyone help me resolve the error I got in this code?
  I need to track all four Entry widgets, so I created four <code>StringVar</code> objects using a loop. I also have to assign separate indexes to individual Entry widgets so I used a variable 'i' in a <code>for</code> loop:</p>
  
  <pre><code>from tkinter import *
  
  class App(Frame):
      def __init__(self,parent=None,**kw):
          Frame.__init__(self,parent,**kw)
          for i in range(4):
              j=0
              self.textEntryVar[i] = StringVar()
              self.e[i] = Entry(self, width=15, background='white', textvariable=self.textEntryVar[i], justify=CENTER, font='-weight bold')
              self.e[i].grid(padx=10, pady=5, row=17+j, column=1, sticky='W,E,N,S')
              j = j+1    
  if __name__ == '__main__':
  root = Tk()
  root.geometry("200x100")
  app = App(root)
  </code></pre>