# join()

say it: **“JOYN”** **/dʒɔɪn/**

Glues a list of strings into one string with a separator between them.

## What does `join()` do?

`join()` glues a list of strings into one string, with the separator you choose between them.

```python
toppings = ["cheese", "peppers", "onions"]
print(", ".join(toppings))  # cheese, peppers, onions
```

Level: Apprentice · [More Python terms at this level](https://www.ask-codey.com/glossary?category=python&level=2)

Updated: November 17, 2026

## In other subjects

- [join() in JavaScript](https://www.ask-codey.com/glossary/join-javascript)

Source: https://www.ask-codey.com/glossary/join
