Naming coordinates in python
<p>I'm trying to write out the coordinates of a 3d object, but I'm not sure how to list it.</p>

<p>so far I have:</p>

<pre><code>class threed:
    def __init__(self,length,width,height):
        self.h =height
        self.l = length
        self.w = width
        self.f=0
        self.lwh = (length,width,height)

for i in range(1,3):
      for j in range(1,3):
           for k in range(1,3):
                coordinates=threed(i,j,k)
</code></pre>

<p>The problem is my function rewrites the variable coordinates each time so that I can't ever access coordinate (1,1,1) for example.</p>

<p>Note the above is for a 2x2x2 object. </p>

<p>How do I write it efficiently so that I can reference any coordinate as I need?</p>
