# A list stores values inside of the array. friends = ["Kevin", "Karen", "Jim"]
# How can we access individual elements print(friends)
# Refer to elements by their index. print(friends[0]) print(friends[-1]) print(friends[1:])
friends = ["Kevin", "Karen", "Jim", "Oscar", "Toby"] print(friends[1:4]) # not including 4
friends[1] = "Mike" # Modify a value inside the array. print(friends[1])