title: TypeError: argument 1 must be pygame.Surface, not tuple
body: <p>I am new user of Stack Overflow, and my problem is if I run the code it will give me the error, the error says: </p>
  
  <pre class="lang-none prettyprint-override"><code>DISPLAYSURF.blit((catImg, dogImg), (catx, caty, dogx, dogy))
  </code></pre>
  
  <p>TypeError: argument 1 must be pygame.Surface, not tuple</p>
  
  <p>how do I fix this problem? Your answer will be highly appreciated! Thank you. :)</p>
  
  <p>I try to google it, but their answer is different than mine.</p>
  
  <pre><code>import pygame, sys
  from pygame.locals import *
  
  pygame.init()
  
  FPS = 30
  fpsClock = pygame.time.Clock()
  
  DISPLAYSURF = pygame.display.set_mode((500, 500), 0, 32)
  pygame.display.set_caption('Cat and Dog running.')
  
  WHITE = (255, 255, 255)
  catImg = pygame.image.load('cat.png')
  dogImg = pygame.image.load('dog.png')
  catx = 50
  caty = 50
  dogx = 25
  dogy = 25
  direction = 'right'
  
  running = True
  while running:
  DISPLAYSURF.fill(WHITE)
  
  if direction == 'right':
      catx += 5
      dogx += 5
      if catx == 250 and dogx == 250:
          direction = 'down'
  elif direction == 'down':
      caty += 5
      dogy += 5
      if caty == 225 and dogy == 225:
          direction = 'left'
  elif direction == 'left':
      catx -= 5
      dogx -= 5
      if catx == 10 and dogx == 10:
          direction = 'up'
  elif direction == 'up':
      caty -= 5
      dogy -= 5
      if caty == 10 and dogy == 10:
          direction = 'right'
  
  DISPLAYSURF.blit((catImg, dogImg), (catx, caty, dogx, dogy))
  
  for event in pygame.event.get():
      if event.type == QUIT:
          pygame.quit()
          sys.exit()
  
  pygame.display.update()
  fpsClock.tick(FPS)
  </code></pre>