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 trialethanwright
4,267 Pointslists code challange problem
I'm having trouble wit the 4th step in the greeting_list.py code challenge I just cant seem to get past this step, i keeps saying oops! looks like task 1 is no longer passing. some help with this would be greatly appreciated :)
full_name = "Ethan Wright"
name_list = full_name.split(" ")
greeting_list = "Hi, I'm Treehouse".split(" ")
greeting_list[2] = name_list[0]
greeting = " ".join(greetng_list)
2 Answers
Cristian Altin
12,165 PointsYou misspelled greeting_list passing it to the join function.
Note: If you use .split() without specifying any arguments it will split looking for spaces by default.
Prashant Pachauri
1,560 PointsCan you try using split() with out any arguments? The only difference I see between my code and your's is that, and mine seems to be working fine.
ethanwright
4,267 Pointsethanwright
4,267 Pointsthanks should have checked through it :P
Prashant Pachauri
1,560 PointsPrashant Pachauri
1,560 PointsGood catch!
Cristian Altin
12,165 PointsCristian Altin
12,165 PointsHahaha that's the funny part of life. At times the problem is not where we look.
Keep up the study and enjoy the fun through learning!!