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 trialAron Katz
700 PointsThis loop is whacked
Following everything to the letter again, and still, I get an error saying "didn't find all the "hello"s....seriously? I have been following ever so closely and still it I'm wrong. Why is this stuff so buggy on this site?
hellos = [
"Hello",
"Tungjatjeta",
"Grüßgott",
"Вiтаю",
"dobrý den",
"hyvää päivää",
"你好",
"早上好"
]
for word in hellos:
print(word + "World")
3 Answers
Ben Schroeder
22,818 PointsAs I recall, that particular challenge requires the user to include a space before World. (So concatenate the string " World" instead of just "World")
Maybe give that a try?
Aron Katz
700 PointsYea that did work....why does this have to be so frustrating?
Ben Schroeder
22,818 PointsYeah, the instructions for that one are unclear. I ran into the same problem as you.
Aron Katz
700 PointsThank you again.
Aron Katz
700 PointsAron Katz
700 PointsThere is a space in between the + and "World" but that's not what's happening....I get "didn't find all the "hello"s" I tried it on the console with my own list and same variables and it worked fine, but I try it here with their stuff and it doesn't work, it never does.
Ben Schroeder
22,818 PointsBen Schroeder
22,818 PointsAre you sure? I just tried this in the challenge, and it worked: