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 trialFarshid Rafiee Rad
Courses Plus Student 1,286 PointsStuck at Challenge Task 2 of 4
For the challenge, I provide the following answer:
greeting_list = "Hi, I'm Treehouse".split(" ")
But it does not seem to like it and it does not let me continue. What am I missing in my response?
greeting_list = "Hi, I'm Treehouse".split(" ")
3 Answers
John Deininger
3,958 Pointsthe " " in the .split() is what's wrong. remove them and you should be good.
Kenneth Love
Treehouse Guest TeacherThe " "
is fine. It's just doing the same behavior as .split()
does by default.
Is this your entire file? If so, you're missing the previous two steps.
Farshid Rafiee Rad
Courses Plus Student 1,286 PointsThanks Kenneth. That was it. I was removing the challenge code for the previous step.
Farshid Rafiee Rad
Courses Plus Student 1,286 PointsFarshid Rafiee Rad
Courses Plus Student 1,286 PointsThanks Bic. I originally tried it without " " with no luck.