list is value that contains multiple values in an ordered sequence the term list value refers to the list itself (which is value that can be stored in variable or passed to function like any other value)not the values inside the list value list value looks like this['cat''bat''rat''elephant'just as string values are typed with quote characters to mark where the string begins and endsa list begins with an opening square bracket and ends with closing square bracket[values inside the list are also called items items are separated with commas (that isthey are comma-delimitedfor exampleenter the following into the interactive shell[ [ ['cat''bat''rat''elephant'['cat''bat''rat''elephant'['hello' truenone ['hello' truenone spam ['cat''bat''rat''elephant'spam ['cat''bat''rat''elephant'the spam variable is still assigned only one valuethe list value but the list value itself contains other values the value [is an empty list that contains no valuessimilar to ''the empty string getting individual values in list with indexes say you have the list ['cat''bat''rat''elephant'stored in variable named spam the python code spam[ would evaluate to 'cat'and spam[ would evaluate to 'bat'and so on the integer inside the square brackets that follows the list is called an index the first value in the list is at index the second value is at index the third value is at index and so on figure - shows list value assigned to spamalong with what the index expressions would evaluate to note that because the first index is the last index is one less than the size of the lista list of four items has as its last index spam ["cat""bat""rat""elephant"spam[ spam[ spam[ spam[ figure - list value stored in the variable spamshowing which value each index refers to for exampleenter the following expressions into the interactive shell start by assigning list to the variable spam spam ['cat''bat''rat''elephant'spam[ 'cat