Lists in Python
Using Python, it is easy to work with lists of items. Here is a small example:
list = ["a", "b", "c", "d"]
print list
list[0] = "z" # change the first list item to "z"
print list
print list[0:2] # print the sublist of entries in positions 0 to 1
Output:
['a', 'b', 'c', 'd']
['z', 'b', 'c', 'd']
['z', 'b']