[issue33815] List a = []*19 doesn't create a list with index length of 19

2018-06-09 Thread Varada
Varada added the comment: Hi, Eric & Zach, Thanks for your kind response. @Eric, from your comments am I to understand that you agree with me or state that my understanding is wrong ? :) I couldn't conclude it. The point where I find difficult to convince myself is why am I no

[issue33815] List a = []*19 doesn't create a list with index length of 19

2018-06-09 Thread Varada
New submission from Varada : Hi, As per my understanding, a = [0]*19 -> creates a list of length 19 with all zeros, >>> a = [0]*19 >>> print (len(a)) 19 >>> a [18] = 2 >>> print (a) [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2] >>&