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 trialKelly Ferrell
2,561 PointsTask one is not longer passing when I go to step two of four in creating strings
When I get to step two is states that Task in code 1 is no longer passing. What did I do wrong.
full_name = "kelly ferrell"
name_list = full_name.split()
print (name_list)
greeting_list = list("Hi, I'm Treehouse")
greeting_list.split()
print(greeting_list)
1 Answer
James Bennett
445 PointsHi i recently did this part myself and had a little problems to, I'll explain using how i finished it as an example. As i saw it it is not asking for "print" to be used it just wants the string, but is just asking for "Hi, I'm Treehouse" to be split.
The easiest way i found is:
greeting_list = ("Hi, I'm Treehouse").split()
This (as far as i can tell) makes greeting_list equal ("Hi, I'm Treehouse") split up as its has a .spilt() after it.
Your whole code up to this point should look (somthing) like this:
full_name = "kelly ferrell"
name_list = full_name.split()
greeting_list = ("Hi, I'm Treehouse").split()
PS: I hope this helps and does not come across as rude, im only learning myself at the moment.