Python List
List is a collection which is ordered and changeable. It allows duplicate members.
A list can be defined as a collection of values or items of different types. The items in the list are separated with the comma (,) and enclosed with the square brackets [].
A list can be defined as follows.
L1 = [“John”, 102, “USA”]
L2 = [1, 2, 3, 4, 5, 6]
L3 = [1, “Ryan”]
Let’s explore more concepts about list through following jupyter notebook exercise.