Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialArjun Parashar
Courses Plus Student 2,150 PointsI am not getting how to write this line of code. Please help me.
I am not at all getting how to solve this question. Please help me. I am a beginner.
var todo = ["Learn Swift", "Build App", "Deploy App"]
todo.count
todo.append ("Debug App")
todo.append[2] ("Fix Bugs")
Pasan Premaratne
Treehouse TeacherThis course has been deprecated and removed from the library. It's in Swift 1 and is 2 years old. How did you access it? :)
cc/ Martin Wildfeuer
1 Answer
Arjun Parashar
Courses Plus Student 2,150 PointsIt was there in the Swift Basics course. Therefore, I could access it.
Martin Wildfeuer
Courses Plus Student 11,071 PointsMartin Wildfeuer
Courses Plus Student 11,071 PointsSeems like a broken code check. Can you confirm, Amit Bijlani Pasan Premaratne ? Btw.,
todo.append[2] ("Fix Bugs")
is invalid syntax :)