May 8th, 2006, 11:13 AM
|
#7
|
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4 
|
hydroxide, you are right
# this inserts 'new' at index 3
my_list = ['a', 'b', 'c', 'd', 'e']
my_list[3:3] = ['new']
print my_list # ['a', 'b', 'c', 'new', 'd', 'e']
__________________
I looked it up on the Intergnats!
|
|
|