Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,704 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?