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

3rd coding challenge

I really have no idea what to do.

A little help maybe?

Lastly, change the "X" in greeting_list to the first item in your name_list variable. Then join this list back into a string and store it in the variable greeting. You should end up with "Hi, I'm <your first name>".

full_name = "Evan Robert Miller"

name_list = full_name.split()

greeting_list = "Hi, I'm X".split()

1 Answer

Hi Evan!

What would happen if you try setting bits of the last equal to parts of the other list? Would that help out? Give it a go!

list_one[0] = list_two[0]

Give it a go and report back if you can't get it working!

-Luke