spam[ :['bat''rat''elephant'spam[:['cat''bat''rat''elephant'getting list' length with the len(function the len(function will return the number of values that are in list value passed to itjust like it can count the number of characters in string value enter the following into the interactive shellspam ['cat''dog''moose'len(spam changing values in list with indexes normallya variable name goes on the left side of an assignment statementlike spam howeveryou can also use an index of list to change the value at that index for examplespam[ 'aardvarkmeans "assign the value at index in the list spam to the string 'aardvarkenter the following into the interactive shellspam ['cat''bat''rat''elephant'spam[ 'aardvarkspam ['cat''aardvark''rat''elephant'spam[ spam[ spam ['cat''aardvark''aardvark''elephant'spam[- spam ['cat''aardvark''aardvark' list concatenation and list replication lists can be concatenated and replicated just like strings the operator combines two lists to create new list value and the operator can be used with list and an integer value to replicate the list enter the following into the interactive shell[ [' '' '' '[ ' '' '' '[' '' '' ' [' '' '' '' '' '' '' '' '' 'spam [ spam spam [' '' '' 'spam [ ' '' '' 'lists