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 trialMichelle Mangwiro
Courses Plus Student 467 PointsShopping challenge
I still don't understand where I am going wrong.
full_name = "Michelle Mangwiro"
name_list = full_name. split()
greeting_list = "Hi, I am Treehouse".split()
4 Answers
Chris Freeman
Treehouse Moderator 68,441 PointsOne correction:
full_name = "Michelle Mangwiro"
name_list = full_name.split()
greeting_list = "Hi, I'm Treehouse".split() #<-- Add missing comma
greeting_list [2] = name_list [0]
greeting = ' '.join(greeting_list)
Martin Pearce
16,664 Pointsfull_name = "Michelle Mangwiro"
name_list = full_name.split()
greeting_list = "Hi I'm Treehouse".split()
greeting_list [2] = name_list [0]
greeting = ' '.join(greeting_list)
It took me a while for this one :)
[edited format, moved to Answer. - cf]
Michelle Mangwiro
Courses Plus Student 467 PointsThank you :-)
Martin Pearce
16,664 PointsHope it works :)
Michelle Mangwiro
Courses Plus Student 467 PointsI'll check if it does now. :-)
Chris Freeman
Treehouse Moderator 68,441 PointsChris Freeman
Treehouse Moderator 68,441 PointsThe error is in the third line. "I am" should be the contraction: "I'm":