Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ring Insert Items in list

aList = ["A","B","D","E"]
insert(aList,2,"C")    # Inserts AFTER Index 2, "C" into Position 3
see aList              # print A B C D E
Source by ring-lang.github.io #
 
PREVIOUS NEXT
Tagged: #ring #Insert #Items #list
ADD COMMENT
Topic
Name
1+2 =