速速救援!
亲们,这个咋整?帮我解决问题的我关注ta!
我安装了pip,但是就是不行
这种情况是已经安装好了吧。。。试试import pygame
代码如下:
# pygame WallBall version 1
import pygame, sys
pygame.init()
screen = pygame.display.set_mode((600,400))
pygame.display.set_caption("Pygame壁球")
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
sys.exit()
pygame.display.update()
程序运行后会出现以下框图: