title: 'Syntax error: invalid syntax' pointing to a while loop
body: <p>The console I use, pycripter, says that the line with the <code>while</code> in it is incorrect. I checked my other programs and it works there.  Am I missing something? The error message says 'Syntax Error: invalid syntax'.</p>
  
  <pre><code>import pygame, sys
  from pygame.locals import *
  
  pygame.init()
  
  Display = pygame.display.set_mode((700, 500))
  
  SquareLocation((350, 100), (400,
  
  while True:
      for event in pygame.event.get():
          if event.type == QUIT:
              pygame.quit()
              sys.exit()
      pygame.display.update()
  </code></pre>