|
|
@ -35,7 +35,7 @@ list_of_chars = list(<str>) |
|
|
|
index = <list>.index(<el>) # Returns first index of item. |
|
|
|
<list>.insert(index, <el>) # Inserts item at index and moves the rest to the right. |
|
|
|
<el> = <list>.pop([index]) # Removes and returns item at index or from the end. |
|
|
|
<list>.remove(<el>) # Removes first occurance of item. |
|
|
|
<list>.remove(<el>) # Removes first occurrence of item. |
|
|
|
<list>.clear() # Removes all items. |
|
|
|
``` |
|
|
|
|
|
|
|