1programIcon = pygame.image.load("icon.png")
2
3pygame.display.set_icon(programIcon)
4
1import pygame
2
3win = pygame.display.set_mode((500, 500))
4pygame.display.set_caption('Hello World')
5icon = pygame.image.load("<< <<image_Nmae>>.<<extension>> >>")
6pygame.display.set_icon(icon)