I am coming back to pygame after around one and a half months of taking a break. I tried to open and create a window I tried to run it and the window immediately closed. This is all of the code:
import pygame
pygame.init()
screen_x = 230
screen_y = 230
display = pygame.display.set_mode ((screen_x, screen_y))
I am using VSCode if that does anything, this is the first time I have used VSCode so if I do not do something right I may not know.