r/PythonBrasil • • Jun 07 '25

Dúvida Geral Pygame

Meu pygame abre e fecha imediatamente, eu coloco ele pra iniciar e tudo mais, só que ele abre fecha imediatamente

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jun 08 '25

import pygame pygame.init() width = 400 high = 300 screen = pygame.display.set_mode((width, height))