helpyhelperx·vor 4 Jahren·discussIt works on Python38 withcube = [(x, y, z) for x in range(-1, 1) for y in range(-1, 1) for z in range(-1, 1)]I had the same question. Maybe it's a Python2 construct?
cube = [(x, y, z) for x in range(-1, 1) for y in range(-1, 1) for z in range(-1, 1)]
I had the same question. Maybe it's a Python2 construct?