colours = ["red", "green", "blue", "yellow"]colours[2].[1]"red" in the array.[1]"green" to "purple".[1]Show the answer and mark scheme
- blue
- 0
- colours[1] = "purple"
- the items can be processed using a loop
- one identifier is used for all the related items
- less code is needed / easier to add more items