Why is my pygame window not opening after I close another window and producing an unexpected error?
问题 so here is my code: import math import random import time import pygame from pygame import mixer import pygame_functions from pygame_functions import * # Initialises pygame pygame.init() pygame.display.init() #Difficulty num_of_enemies = 0 set_positive_enemyX_change = 0 set_negative_enemyX_change = 0 #Menu def menu(num_of_enemies, set_positive_enemyX_change, set_negative_enemyX_change): screenSize(1000, 1000) # text, fontSize, xpos, ypos, fontColour='black', font='Arial', background='clear'