how to add icon to pygame window code example
Example: how to set the icon of the window in pygame
icon = pygame.image.load('icon.png')
pygame.display.set_icon(icon)
icon = pygame.image.load('icon.png')
pygame.display.set_icon(icon)