title: QUIT pygame event is not defined
body: <p>I have two for loops:</p>
  
  <pre><code>for event in pygame.event.get():
          if event.type == QUIT:
                          pygame.quit()
                          quit()
          if event.type == KEYDOWN:
                  if event.key == K_p:
                          banana = False
                          sportscar = True
  
  for event in pygame.event.get:
                  if event.type == QUIT:
                          pygame.quit()
                          quit()
  </code></pre>
  
  <p>Whenever I run my code, I get this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "D:\Calorie Calculator v2.py", line 43, in &lt;module&gt;
      if event.type == QUIT:
  NameError: name 'QUIT' is not defined
  </code></pre>
  
  <p>I don't know why it does this, because before it worked perfectly.</p>