How to turn a list into string

Here is a quote from describing how we can use the join method.


As it can be seen it isn’t only for strings but for something called “iterable”. Again when we look at what this iterable means;


So it means we can use list, tuples all sequence types. This means I can use it to turn a list into a string which is very handy when I read files via python. For example;

Bingo, we have a string out of a list!

You have a feedback?

This site uses Akismet to reduce spam. Learn how your comment data is processed.