title: Python: Variable in Loop error
body: <p>I am Trying to simplify my program but it says "invalid syntax" on the "=" in </p>
  
  <pre><code>"B=tkinter.Button(start, text=x)"
  </code></pre>
  
  <p>Code</p>
  
  <pre><code>import tkinter
  from tkinter import *
  start = tkinter.Tk()
  for x in ["New","Load"]:(
      B=tkinter.Button(start, text=x)
      B.pack()
      )
  #N = tkinter.Button(start, text="New")
  #L = tkinter.Button(start, text="Load")
  #N.pack()
  #L.pack()
  start.mainloop()
  </code></pre>