Summary
A
list is an
ordered_collection that is
mutable_type. Create a list with brackets []. It uses
zero_based_indexing and supports
slice ranges. Common methods include
append,
insert,
extend,
remove, and
pop. Get size with
length via len. You can
iterate with a
for_loop. Lists can hold
mixed_types and allow
nested_lists. Assignment makes a reference; use
shallow_copy like slicing to copy values. Lists work well for simple
stack or
queue behaviors.