what does pygame.display.flip() do code example
Example: pygame flip image
# Flip an image
image = pygame.image.load('image.png')
flipped = pygame.transform.flip(image, True, False)
# Flip an image
image = pygame.image.load('image.png')
flipped = pygame.transform.flip(image, True, False)