Home / Python Tips Generated By ChatGPT / Lists in Python Learn about lists, Python’s versatile data structure for storing sequences of items. Source Code my_list = [1, 2, 3, 4] my_list.append(5) # Adding an item print(my_list[0]) # Accessing an item