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 trial

Python Python Basics (Retired) Shopping List Lists and Strings

Create 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

greeting_list.py

You're not showing any code here, try and re paste it.

8 Answers

full_name = "Your name"
name_list = full_name.split()

Create 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

so
full_name = "alec burnett" name_list = full_name.split()

correct

that didn't work

That should have worked

Dylan's code is correct here.

I also tried this and was not able to proceed. The code is not accepting your example as the answer.

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

That is most definitely being accepted as the correct answer.

answer

I 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.

I 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).