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 Introducing Lists Using Lists Split and Join

End of the video problem with a list

https://w.trhou.se/d9dq0clfaj

I found i had to use

a = type(to_line.split(", "))
print(a)

to get visual studio to show its a list type.

Its only a little query here I would reckon alot of people would use visual studio code as i do, and not workspaces and probably come across little problems like this.
Its not a big thing but i am slightly concerned about not using workspaces, would this be an issue moving forward??

1 Answer

Steven Parker
Steven Parker
229,788 Points

The big advantage of workspaces it that it makes it easy to create and share a snapshot of the entire project whenever you need help or want to show something to the forum audience or support staff.

Another issue might arise when the performance of a different version of something doesn't match what is shown in the video. The workspace version will almost certainly match the video.

Thanks, its making me redesign some code which helps gain extra knowledge :-) can't be bad i guess.