Python – Lists Varun October 23, 2019 Python – Lists2019-10-24T08:44:53+05:30 No Comment A list in Python is a kind of sequential container and it can store different types of elements. Learn more about lists with these tutorials, Creating Lists Create a List and initialize with values in python. Add or update elements in Lists How to add an element in a list? | append() vs extend() How to insert an element at a specific index in List? Iterate / Loop over Lists Different ways to iterate over a List in python. Remove elements from Lists Remove element from a list by value or index in python. How to remove duplicates from a list in python? How to remove multiple elements from a list in python? Search / Find elements in a List How to find all indexes of an item in a List? How to check if an item exists in List? | Search by Value or Condition? Check if a list contains all the elements of an another list in python. Check if all elements in a List are similar or match a condition. Sort a list by key or Value How to sort a list of strings in python. How to sort a list of tuples by 2nd Item using lambda function or a compartor. Merging / Joining Lists How to merge or join two or more lists in python. Counting elements in Lists Count elements in a list, lists of lists or nested list in python. Count elements in a list that satisfy certain conditions in python. Duplicates in Lists Three ways to check if there are duplicates in a List. Find duplicates in a list with frequency count & index positions. Convert Lists to other types How to convert a list to string in python. Convert list of lists or nested list to flat list in python.