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

mahesh gurbaxani
mahesh gurbaxani
1,420 Points

whats wrong with this code

whats wrong with this code

full_name="mahesh gurbaxani"
greeting_list= ("Hi I'm Treehouse")
" ".join.(greeting_list)

2 Answers


I see a couple of items that could be extra, not wrong.

  1. The "list(full_name.split())" is the same as full_name.split(). They both return a list.
  2. If the full_name.split() is not set to a variable then it only returns the results to the screen and is not saved.

I believe Aglaya resolved the other issue.


" ".join(greeting_list)