Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

insert function in list

FOMAT: list.insert(index,element)

hey you, I want you to remember that insert function
takes the index as the parameter okay?
Just remember it as "insert" starts with "i" so the first parameter of insert
also starts with i
Sounds crazy but works...have a good day. Dont forget this concept.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #insert #function #list
ADD COMMENT
Topic
Name
5+9 =