为什么不能直接访问函数?
import pygame,sys pygame.init() screen = pygame.display.set_mode([640,480]) screen.fill([255,255,255]) my_list = [250,150,300,200] pygame.draw.rect(screen,[255,0,0],my_list,2) pygame.display.flip()
为什么不能直接访问函数?
import pygame,sys pygame.init() screen = pygame.display.set_mode([640,480]) screen.fill([255,255,255]) my_list = [250,150,300,200] pygame.draw.rect(screen,[255,0,0],my_list,2) pygame.display.flip()