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!
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

Vemuri vem
1,422 Pointsfacing error in list - create a variable named greeting_list that's the string"Hi, I'm Treehouse" split on the spaces
what's the error in this?
full_name = ("tanuja, veera")
full_name.split()
name_list = full_name.split()
greeting_list = ("Hi, I'm Treehouse")
greeting_list.split()
2 Answers

Chris Freeman
Treehouse Moderator 68,390 PointsI've corrected your code so far:
full_name = ("veera tanuja") #<-- Task expects "FirstNamea LastName". parens not needed.
#full_name.split() #<-- statement not used
name_list = full_name.split()
greeting_list = "Hi, I'm Treehouse".split() #<-- Split list directly

Vemuri vem
1,422 PointsThank you @chris freeman