I’m in the rather drawn out process of trying to totally rewrite my Gothic Vaults script to provide far more sophisticated and customisable results. However I am having problems with the following code (Abbreviated here):

```
p = [[None]*rowlength]*steps
row=0
for z in [i*stepsize for i in range(steps-1)]+[height]:
k=0
for i in range(numangles):
...
for j in range(numpoints):
... x and y calculated here
p[row][k]=(x, y, z)
k+=1
for j in range(numpoints-1,-1,-1):
... x and y calculated here
p[row][k]=(x, y, z)
k+=1
row+=1
```

This however is resulting in the z values of all points being equal. When I check the values in the middle of the loop they are initially correct but change every time z changes. How do I get the value of z rather than a reference to it?

Neil.