Pygame renuncia
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
Vast Vulture
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
if running == False:
pygame.quit()
running = Truewhile running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False