title: Moving image with pygame
body: <p>I am new to pygame. I was just trying to move an image with pygame but it fails my code is</p>
  
  <pre><code>import pygame
  from pygame.locals import*
  img = pygame.image.load('tank.jpg')
  
  white = (255, 64, 64)
  
  w = 640
  h = 480
      screen = pygame.display.set_mode((w, h))
  
  screen.fill((white))
  
  running = 1
  
  while running:
  
    x = 5
    x++
    y  = 10
    y++
  
    screen.fill((white))
    screen.blit(img,(x,y))
    pygame.display.flip()
    pygame.update()
  </code></pre>
  
  <p>I have tried this code to move the image. But it didn't help me.</p>