does swift have a list code example
Example: swift list
var shoppingList: [String] = ["Eggs", "Milk"]
// shoppingList has been initialized with two initial items
var shoppingList: [String] = ["Eggs", "Milk"]
// shoppingList has been initialized with two initial items