I need you to write a for loop that goes through each of the words in hellos and prints each word plus the word "World".
what's wrong with my logic?
hellos = [ "Hello", "Tungjatjeta", "Grüßgott", "Вiтаю", "dobrý den", "hyvää päivää", "你好", "早上好" ] for word in hellos: print('word' + 'World')
Chris FreemanTreehouse Moderator 59,509 Points
You are close!! The variable
word in the print statement should not be quoted, otherwise it's just another string. Remember to include a space before 'World'.
Post back if you need more help. Good luck!!!
You are a genius, thank you. I wouldn't figure that out by myself