第一步:导入 pygame 和 sys 库
pygame
sys
#导入 pygame 和 sys 库 import pygame,sys
第二步:设定窗口大小
#设定窗口大小 pygame.init() screen = pygame.display.set_mode((700,500))
第三步:设定标题栏