title: pygame window won't update image
body: <p>i'm working on a dice roll program and when the dice is rolling it shows random faces of it and then the final face. but the problem is when the dice is rolling it only shows the first face and doesn't update to the other faces. anybody know why this is happening?</p>
  
  <p>here's the code: </p>
  
  <pre><code>from pygame.locals import *
  from random import randint
  import pygame
  import sys
  
  for x in range(11):
      if x &gt; 1:
          n = randint(1,6)
          print(x,":",n)
  
  pygame.init()
  
  screen = pygame.display.set_mode((500,500),0,32)
  
  one = pygame.image.load("one.png").convert_alpha()
  two = pygame.image.load("two.png").convert_alpha()
  three = pygame.image.load("three.png").convert_alpha()
  four = pygame.image.load("four.png").convert_alpha()
  five = pygame.image.load("five.png").convert_alpha()
  six = pygame.image.load("six.png").convert_alpha()
  
  while True:
      for evt in pygame.event.get():
          if evt.type == pygame.QUIT:
              pygame.quit()
              sys.exit()
  
      pygame.display.update()
  
      if n == 1:
          screen.blit(one,(250,250))
      if n == 2:
          screen.blit(two,(250,250))
      if n == 3:
          screen.blit(three,(250,250))
      if n == 4:
          screen.blit(four,(250,250))
      if n == 5:
          screen.blit(five,(250,250))
      if n == 6:
          screen.blit(six,(250,250))
  </code></pre>