Apparently pygame.event.get() actually pulls the events out of the queue - so when going by type, you have to put the other ones back??
seen from Ukraine

seen from United States
seen from United States
seen from United Kingdom
seen from China

seen from Malaysia
seen from Türkiye
seen from United States
seen from China

seen from United States
seen from Croatia

seen from Malaysia
seen from United Kingdom
seen from France
seen from United States
seen from United States
seen from United States

seen from Japan
seen from United States

seen from Finland
Apparently pygame.event.get() actually pulls the events out of the queue - so when going by type, you have to put the other ones back??
You can check the Python (Pygame??) Event Queue for specif event types like ALL the QUIT events, or ALL the KEYUP events. The entire Python event queue only holds up to 127 event objects at any given moment
This: spam == 'dog' or spam == 'cat' or spam == 'mouse' or spam == 'horse' or spam == 42 or spam == 'dingo' Is the same as this: spam in ('dog', 'cat', 'mouse', 'horse', 42, 'dingo') Similarly: event.key in (K_LEFT, K_a) and: event.key == K_LEFT or event.key == K_a