list operations pytohn code example
Example 1: list in python
thislist = ["apple", "banana", "cherry"]
print(thislist[1])
Example 2: list in python
list = [132, 31212, 12, 2, 12]
print(list[3])
#output: 2
thislist = ["apple", "banana", "cherry"]
print(thislist[1])
list = [132, 31212, 12, 2, 12]
print(list[3])
#output: 2