title: Why won't pygame draw a circle?
body: <p>I am a beginner in python, and I'm trying to draw a circle wherever the mouse is(I also have a mouse and background image). Here is my code:</p>
  
  <pre><code>while True:
  
      for event in pygame.event.get():
          if event.type == QUIT:
              pygame.quit()
              sys.exit
  
          if event.type == MOUSEBUTTONDOWN:
              color = (100,100,100)
              posx,posy = pygame.mouse.get_pos()
              screen.lock()
              pygame.draw.circle(screen, color, (posx,posy), 50)
              screen.unlock()
  
      screen.blit(background,(0,0))
      x,y = pygame.mouse.get_pos()
      x -= mousec.get_width()/2
      y -= mousec.get_height()/2
  
      screen.blit(mousec, (x,y))
  
      pygame.display.update()
  </code></pre>
  
  <p>Whenever I click nothing happens. Why doesn't it draw a circle? Thanks for the help!</p>