Python List
List List is data structure in python more like array in c or java. But in python list is mutable. List is initialized in python using list class or just []. list1 = [] list2 = list() Below are some methods of list object list.append(item) Add an Item to end of the list. list.count(item) Returns number of time item appears in the list. list.extend(anotherList) Extend the list by appending all the items from the given list. list.index(item, [start], [end]) Returns the first index of value. If specified optional arguments start or end, the item is searched within start and end. Raises ValueError if item not present. list.insert(index, item) Insert an item at a given position, the element is inserted before the index. list.pop([index]) Remove an item from the ...