List is a Data structure in Python similar to Array with dynamic size.
It is a collection of mutable homegenous sequence of objects.
- List elements are Dynamic in size
List is a collection of elements with duplicate values, order is insertion order.
What are advantages of Lists?
Sets stores unique elements, and order is not preserved. Accessing Set element for check an element exists or not is faster compared with List.