Python's __getitem__ Method
You must have used the square bracket notation ([]) method to access the items from the collection such as list, tuple, or dictionary.
my_lst = ["Sachin", "Rishu", "Yashwant"]
item = my_lst[0]
print(item)
The first element of the list (my_lst) is a...
teamgeek.geekpython.in4 min read