Hello every one.
I have a problem at the level golden choice in the glacier :
I am trying to do what is writing in the help, but I have a problem. I use a list to have the path, but it’s give me an error.
Here is a part of my code :
def findBest(x,y,som,path): findBest(x,y+1,som+goldMap[x][y+1].value,path.append((x,y+1))) for b in range(10): pa= findBest(0,b,0,pa)
And the editor give me :
TypeError : Cannot read property ‘append’ of undefined
What is this problem and how can I remove it?
I have also tried with
An other question :
Is the 0,0 in the array at the top left or bottom left?