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

The feed back is "Task one is no longer passing".

This code is giving me a hard time.. what do you think is wrong with my code

greeting_list.py
full_name = "Kevin Donaldson"
name_list = full_name.split(" ")
greeting_list = split("Hi I'm Treehouse")

1 Answer

Michael Norman
PLUS
Michael Norman
Courses Plus Student 9,399 Points

The issue comes from the split method. Remember that this method needs to be called off of a string object. so like you did for names list you should have

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