front of the list--per the next section' method coveragesomething the list' extend does more mnemonically at list endl [ [: [ insert all at : an empty slice at front [ [len( ):[ insert all at len( ):an empty slice at end [ extend([ ]insert all at endnamed method [ list method calls like stringspython list objects also support type-specific method callsmany of which change the subject list in placel ['eat''more''spam!' append('please' ['eat''more''spam!''please' sort( ['spam!''eat''more''please'append method calladd item at end sort list items (' ' 'methods were introduced in in briefthey are functions (reallyobject attributes that reference functionsthat are associated with and act upon particular objects methods provide type-specific toolsthe list methods presented herefor instanceare generally available only for lists perhaps the most commonly used list method is appendwhich simply tacks single item (object referenceonto the end of the list unlike concatenationappend expects you to pass in single objectnot list the effect of append(xis similar to +[ ]but while the former changes in placethe latter makes new list the sort method orders the list' items herebut merits section of its own more on sorting lists another commonly seen methodsortorders list in placeit uses python standard comparison tests (herestring comparisonsbut applicable to every object type)and unlike concatenationappend doesn' have to generate new objectsso it' usually faster than too you can also mimic append with the clever slice assignments of the prior sectionl[len( ):]=[xis like append( )and [: ]=[xis like appending at the front of list both delete an empty slice and insert xchanging in place quicklylike append both are arguably more complex than list methodsthough for instancel insert( xcan also append an item to the front of listand seems noticeably more mnemonicl insert(len( )xinserts one object at the end toobut unless you like typingyou might as well use append( ) lists and dictionaries