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 trial

iOS Swift Collections and Control Flow Introduction to Collections Working With Arrays

jonathan Appiah Bannor
jonathan Appiah Bannor
444 Points

hi there! can you tell me where is the problem in the task? I pass the task but the programme still sending me back

help

array.swift
// arrays

var arrayOfInts = [1,2,3,4,5,6]

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hi Jonathan,

I'm not sure I understand your question?

The code above satisfies the requirements for Task one. When you click "Check Work" you do get the "Good Job! :thumbsup:". You then click "Next" and the instructions for Task two are there, so I'm not understanding what you mean by "sending me back"...
Remember though, the code for each task should be added after the code from the previous task (unless specifically instructed to alter previous code snippets).

So, everything looks good, you should just be able to continue on with the tasks. This particular challenge has 4 Tasks.

Keep Coding! :) :dizzy:

jonathan Appiah Bannor
jonathan Appiah Bannor
444 Points

many thanks! really appreciate. I've got a question for you... if I get the Tech degree, I can get a real job?