argument 1 must be pygame.surface, not list
问题 I'm programming a minor python game and some of my code doesn't seem to work. Have a look: import pygame import sys import pygame.sprite as sprite import time pygame.init() pygame.display.set_caption("Uni Mario") m_x = 100 m_y = 350 width = 40 height = 60 vel = 5 left=False right=False walk_count = 0 walkRight = [] walkLeft = [] myfont = pygame.font.SysFont("monospace", 25) screen_over = pygame.font.SysFont("monospace", 100) hitcount = 0 score=0 clock = pygame.time.Clock() FPS = 30 background