📜  如何在pygame中退出程序 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:23.580000             🧑  作者: Mango

代码示例3
running = Truewhile running:  for event in pygame.event.get():    if event.type == pygame.QUIT:      running = False