fork download
  1. -- table x,y,z
  2. n=1
  3. y=0
  4. for x = -n, n do
  5. for z = -n, n do
  6. --print(x,y,z)
  7. print( string.format("%3d %2d %2d", x,y,z) )
  8. end
  9. end
Success #stdin #stdout 0s 14120KB
stdin
Standard input is empty
stdout
 -1  0 -1
 -1  0  0
 -1  0  1
  0  0 -1
  0  0  0
  0  0  1
  1  0 -1
  1  0  0
  1  0  1