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 trialTerence Kelley
268 Pointsgreeting_list.py
Create a variable named greeting_list that's the string "Hi, I'm Treehouse" split on the spaces.
uug feeling dumb need help it just doesn't make sense.
full_name = "terence kelley"
name_list = full_name .split()
1 Answer
Graham Mackenzie
2,747 PointsHi Terence!
I can relate to what you're feeling, but don't lose hope! This stuff is tricky, and you're doing fine.
This task is asking you to create a new variable named greeting_list
, so you need to start by putting that on a new line. Then, all you have to do is split the string "Hi, I'm Treehouse" (the same way you did full_name
) and assign that to greeting_list
.
I hope this helps! Please mark this as the Best Answer if it was most helpful.
Be Well, Graham
Nathan Heusdens
8,806 PointsNathan Heusdens
8,806 PointsYou're almost there. full_name.split(' ') should split on the spaces. there is a space between the ' ' in split