Welcome to the Treehouse Community
Looking to learn something new?
How to do I do the Println function in an array?
I am doing a quiz in the Swift development course basics, and I am stuck on the question. How to print out the number of items in the ARRAY using the PRINTLN function
Jamie Barton14,498 Points
Once you've created an array
var todo = ["Learn Swift", "Build App", "Deploy App"]
You want to output the number of arrays using the
count method like so:
Hope this helps!