how to access a particular element in list in python code example
Example 1: how to call a specific element in a list python
print(cities[0][0], cities[1][0])
print(cities[0][1], cities[1][1])
Example 2: access element from list python
list1 = [1,2,3,4,5]
for i in list1:
print(i)