Yes I missed the fine print that said that the code had 'side effects'
So:

a = [None]*256
for i in range(256):
     a[i] = [None] * 256
for i in range(0,256):
        for j in range(0,256):
                a[i][j] = i**2
                
a = sum(a, [])
print a[0]
print a[65535]

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to