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

Python Python Basics (2015) Logic in Python Loop

Once 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?

loop.py
hellos = [
    "Hello",
    "Tungjatjeta",
    "Grüßgott",
    "Вiтаю",
    "dobrý den",
    "hyvää päivää",
    "你好",
    "早上好"
]

I 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.

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hey 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.

:dizzy:

Charles Williams
Charles Williams
2,680 Points

Tips:

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'