Maybe something like this? if key = K_ESCAPE: pygame.quit()
Maybe something like this?
if key = K_ESCAPE:
pygame.quit()