my pygame window wont stay open code example
Example: my pygame window wont stay open
running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False