Hi,
I'm trying to create a 3D grid, so I'm using a list of list of lists. However,
if I try to make a change to one value, eggrid[0][1][2] = 3, It doesn't just
change list[0], it change the 2nd element in the 1st list of every list? I
think it's because I've copied lists to get the grid, but co
Hi guys,
I need a bit of help. I'm writing a class, and in the main function I'm trying
to say if this method gets called, do this. I'm trying things like:
program = AnimalClass(x,y,z)for i in range(x): for j in range(y): for k
in range(z): animal = program.animal() if animal: