Is think the answer is that:
WINDOW_WIDTH, WINDOW_HEIGHT = 1280, 720 display_surface = pygame.display.set_mode((WINDOW_WIDTH, WINDOW_HEIGHT), pygame.RESIZABLE )