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 trialIlya Nabutovsky
1,045 PointsOnce again my code checks out just fine directly via my terminal, but does NOT pass your test. What is the deal here?
I feel my code is right, it checks out in my terminal but does NOT here within the exercise.
Feels like you expect me to code it a certain way, otherwise the test results in a "Bummer"
hellos = [
"Hello",
"Tungjatjeta",
"Grüßgott",
"Вiтаю",
"dobrý den",
"hyvää päivää",
"你好",
"早上好"
]
for word in hellos:
print word + (" World")
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHey Ilya,
You're really close. You just need to enclose everything for the print method in parentheses.
for word in hellos:
print(word + " World")
Good Job :)
Keep Coding!
Ilya Nabutovsky
1,045 PointsThank you, Jason. That worked out perfectly :)