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

When I move on, it says task 1 no longer works even though I didn't change anything from task 1.

When I go back and try to fix it, it says that split is not an attribute.

greeting_list.py
full_name = "Katherine Hufker"
name_list = full_name.split()
greeting_list = ["hi, I'm Treehouse!"].split()

3 Answers

Frederick Pearce
Frederick Pearce
10,677 Points

I think it is the brackets in greeting_list that are giving you trouble. Get rid of them and see if it works

Hi, the square brackets around the string are not required, as split is a String method to create a list. So remove the the brackets and it should pass.

You'll also have to capitalize your "Hi" in "hi, I'm Treehouse!" as the code challenge check is case sensitive.