my pygame window wont stay open

Solutions on MaxInterview for my pygame window wont stay open by the best coders in the world

showing results for - "my pygame window wont stay open"
Selma
29 Sep 2020
1running = True
2while running:
3  for event in pygame.event.get():
4    if event.type == pygame.QUIT:
5      running = False