Untitled
unknown
plain_text
2 years ago
418 B
3
Indexable
import pygame pygame.init() # Set up the screen screen = pygame.display.set_mode((500, 500)) # Load the image of Lord Hanuman hanuman_image = pygame.image.load('hanuman.png') # Draw the image on the screen screen.blit(hanuman_image, (0, 0)) # Update the display pygame.display.update() # Wait for the user to close the window while True: for event in pygame.event.get(): if event.type == pygame.QUIT:
Editor is loading...