[Idle-dev] Is this a bug

VIC BURAZIN vic_2007_ at hotmail.com
Tue May 19 01:59:49 CEST 2009


idle-dev at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/idle-dev/attachments/20090518/c228aee2/attachment.htm>


More information about the IDLE-dev mailing list