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 trialJeffrey Chandler
1,291 PointsOnce again they are asking me to do something they haven't taught me
Ok so how do I add a world into the end of each hello? Do they really expect me to come up with that on my own when everything has to be written exactly precise?
hellos = [
"Hello",
"Tungjatjeta",
"Grüßgott",
"Вiтаю",
"dobrý den",
"hyvää päivää",
"你好",
"早上好"
]
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHey Jeffrey,
Again, I stress that maybe you switch to the Digital Literacy Track before continuing on with this one.
What is being asked in this challenge has been taught already. String Concatenation was taught in this prior video, and the for loop was just before the challenge.
Tracks are set up to slowly progress you through the syntax of a language, so the challenges won't ask you for something that (at least the essential basics) wasn't already introduced in a previous lesson.
Charles Williams
2,680 PointsTips:
for item in hellos:
print(item)
Will print your list.
And you can make new strings with +
:
new_string = 'hello' + 'world'
print(new_string) # prints: 'helloworld'
Jeffrey Chandler
1,291 PointsJeffrey Chandler
1,291 PointsI write down all the teacher notes and re watch the videos like crazy to what avail! so if your going to say I'm missing something your insulting my intelligence treehouse. Stop assuming I know how to do these things you don't show me.