Upload files to "/"

main
Irina Ternovaja 2024-02-05 09:05:32 +00:00
parent 46c6b6dd0c
commit 675e4ca04a
1 changed files with 19 additions and 0 deletions

19
main.py 100644
View File

@ -0,0 +1,19 @@
import pygame
def main():
pygame.init()
screen = pygame.display.set_mode((500,500))
running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
if __name__=="__main__":
main()
image = pygame.image.load("flower.png")
screen.blit(image, (50,50))
pygame.display.flip()