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

Please can you tell me why this isn't passing

I'll try it another way I'm just wondering why this won't work.

greeting_list.py
full_name = ("Andy Christie")
name_list = (full_name.split())
greeting_list = str.split("Hi, I'm {}".format(full_name[0]))
greeting = " " .join(greeting_list)

1 Answer

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Andy;

Welcome to Treehouse!

The third line in your code needs to include name_list not full_name.

Try that and post back.

Happy coding,

Ken

thanks bro, i've done it now