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 trialPhillip Bailey
1,822 PointsThis wording is confusing.
If you have a list and want to turn it into a string "connected with separator." This sounds like variable = "$".join(list_name)
I am not sure how to read the answers provides such that I can choose the right one. I've done this well in practice but listening back to this question is off putting.
2 Answers
Phillip Bailey
1,822 PointsThank you Gregory, I did figure it out just before I got your message. I will keep reading and so glad there is a big community here to help. I feel more and more like a real coder doing these tracks. It's made a huge difference in my own personal projects.
Gregory James
6,537 PointsIt's Great to have a personal project so you can apply what you learned and enjoy it. You are in fact a programmer.
Gregory James
6,537 PointsIf my answer helped you in any way please click "Best Answer". Thank you and happy Coding
Phillip Bailey
1,822 PointsIt doesn't give me the option to click on best answer only on my own post. I have no idea how to reply directly to a post also, hehe. Sorry. Where would I go to do all of that?
Gregory James
6,537 PointsGregory James
6,537 PointsThe questions are asking you to join the separated list. The first question is asking you "if you can combine each value at a specific separator". In lamest terms, can you join a string in a list as a specific element/index in the list.
"""list = ['something', 'is', 'in', 'this', 'list'] joinedString = ' '.join(list)""" output will be 'something is in this list'. Here is a link for some research: https://thispointer.com/python-how-to-convert-a-list-to-string/
the next question is having you split the string which I will leave this link to help you with your studies : https://www.geeksforgeeks.org/python-string-split/ Basically, you can use the .split function to split a list or string at index, space, word ect.
I hope this helps. If you are stuck it is okay to move on and then come back with a new understanding.