for change operations because they are mutable object type lists in action perhaps the best way to understand lists is to see them at work let' once again turn to some simple interpreter interactions to illustrate the operations in table - basic list operations because they are sequenceslists support many of the same operations as strings for examplelists respond to the and operators much like strings--they mean concatenation and repetition here tooexcept that the result is new listnot stringpython len([ ] [ [ [ ['ni!' ['ni!''ni!''ni!''ni!'length concatenation repetition although the operator works the same for lists and stringsit' important to know that it expects the same sort of sequence on both sides--otherwiseyou get type error when the code runs for instanceyou cannot concatenate list and string unless you first convert the list to string (using tools such as str or formattingor convert the string to list (the list built-in function does the trick)str([ ]" '[ ] [ list(" "[ ' '' 'same as "[ ]" same as [ [" "" "list iteration and comprehensions more generallylists respond to all the sequence operations we used on strings in the prior including iteration tools in [ true for in [ ]print(xend=' membership iteration ( usesprint ,we will talk more formally about for iteration and the range built-ins of table - in because they are related to statement syntax in shortfor loops step through items in any sequence from left to rightexecuting one or more statements for each itemrange produces successive integers lists and dictionaries