我想繪製這個代碼,但它進入 IndexError: list index out of range in the line: k = float(sys.argv[1]) 誰能幫助我如何解決這一問題? canWidth=500
canHeight=500
**strong text**
def setupWindow() :
global win, canvas
from
有人有一個想法,爲什麼我在這段代碼中得到一個IndexError? global gegner
global gegnerhp
gegner = []
gegberhp = []
for i in range(1,anzahlgegner):
random = randint(1,5)
if rand