idle-dev@python.org

 

a=10
x=0
y=0
z=0

 

v=[]

for me in range(a):
        x=x+2
        y=y+4
        z=z+6
        v[me:] = x, y, z
        print v[me:]
for e in range(a):
        print v[e:]
        
IDLE 1.2.2      ==== No Subprocess ====
>>> 
[2, 4, 6]
[4, 8, 12]
[6, 12, 18]
[8, 16, 24]
[10, 20, 30]
[12, 24, 36]
[14, 28, 42]
[16, 32, 48]
[18, 36, 54]
[20, 40, 60]
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 40, 60]
[4, 6, 8, 10, 12, 14, 16, 18, 20, 40, 60]
[6, 8, 10, 12, 14, 16, 18, 20, 40, 60]
[8, 10, 12, 14, 16, 18, 20, 40, 60]
[10, 12, 14, 16, 18, 20, 40, 60]
[12, 14, 16, 18, 20, 40, 60]
[14, 16, 18, 20, 40, 60]
[16, 18, 20, 40, 60]
[18, 20, 40, 60]
[20, 40, 60]
>>> 


_________________________________________________________________
Create a cool, new character for your Windows Liveā„¢ Messenger. 
http://go.microsoft.com/?linkid=9656621
_______________________________________________
IDLE-dev mailing list
IDLE-dev@python.org
http://mail.python.org/mailman/listinfo/idle-dev

Reply via email to