import pygame # 初始化pygame,为使用pygame做准备 pygame.init() # 创建一个窗口 screen=pygame,display.set-mode((800,600))