Appendix D — list
Methods
A full list of methods with clickable definitions can be found here.
list
object
Method | Description |
---|---|
append |
Adds a new item to the end itself |
clear |
Deletes all items from itself |
copy |
Returns a copy of itself |
count |
Returns the number of times the given value occurs itself |
extend |
Joins another list to the end of itself |
index |
Retuns the first location of the given value |
insert |
Writes the given value to the given location |
pop |
Removes the item at the given address and returns it |
remove |
Removes the first occurance of the given value |
reverse |
Reverse the order of itself |
sort |
Sorts the values in place |