Untitled
Anonymous
plain_text
04/05/2023 1:58 PM
560 B
17
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...