the items following the removed item are shifted down and the size of the list shrinks by one you can omit the index position for pop(and the item in the last element will be retrieved and removed thelist pop(printthelist prints [ searching the list several methods and operators are provided that can be used to search the list the index(method can be used to search for an item within the list it returns the element index of the first occurrence within the list if the list does not contain the given valuean exception is raised thelist pos thelist index printpos prints tuples another built-in collection type for creating an ordered sequence of objects is the tuple tuples are exactly like listsexcept they are immutable tuple is created using pair of parentheses instead of square brackets 'abc' element tuple element tuple element mixed tuple you have already seen the use of tuples when multiple values were passed as data fields in formatted string that were listed within parenthesesas shown below that was actually tuple many of the operators used with lists can also be used with tuplesbut there are no additional methods defined for tuples print"(% % )(xya dictionaries the python dictionary is built-in class that stores collection of entries in which each entry contains key and corresponding valuesometimes called payload dictionary can be created and filled using sequence of comma-separated key:value pairs listed within curly braces or empty dictionaries can be created using empty bracesor the dict(constructorstates 'ms'mississippi''va'virginia''al'alabama''dc'washingtonclasslevel 'freshman' 'sophomore' 'junior' 'senioremptya emptyb dict(