Joining a list of strings together in Python

Coding with Python

🕑 This lesson will take about 5 minutes

In Python, the join() method can be used to take individual string values from a list and join them together to form a new tring. The code below shows how to create a new string by joining together the individual string values from a list. You can also specify how to join each string value eg. (eg. a comma, a space, or nothing). In the example below, a space will be inserted between each word in the new string.