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 trialalec burnett
2,501 PointsCreate a variable named full_name that holds your full name. Make another variable named name list that holds your full
what am i doing wrong
8 Answers
Dylan Shine
17,565 Pointsfull_name = "Your name"
name_list = full_name.split()
alec burnett
2,501 PointsCreate a variable named full_name that holds your full name. Make another variable named name_list that holds your full name as a list, split on the spaces. Don't create name_list manually! this is the question
alec burnett
2,501 Pointsso
full_name = "alec burnett" name_list = full_name.split()
Dylan Shine
17,565 Pointscorrect
alec burnett
2,501 Pointsthat didn't work
Dylan Shine
17,565 PointsThat should have worked
William Li
Courses Plus Student 26,868 PointsDylan's code is correct here.
Margaret Zech
11,036 PointsI also tried this and was not able to proceed. The code is not accepting your example as the answer.
Kenneth Love
Treehouse Guest TeacherThat is most definitely being accepted as the correct answer.
Margaret Zech
11,036 PointsI see my mistake. I didn't have the Full name - I only put my first. Needs two names to work correctly. Thank you for the example.
Mario Rodriguez
15,345 PointsI would like to add that if you receive an error, refresh your browser and write the code again. That will make the site mark correct the answer (if it's the same as listed).
Dylan Shine
17,565 PointsDylan Shine
17,565 PointsYou're not showing any code here, try and re paste it.