separator

The string placed between items when they are joined, or removed between parts when a string is split.

In more detail

split(",") removes commas and returns what was between them; ",".join(parts) puts them back. print's sep parameter is the separator between printed values.

Related terms

Taught in

References

Certification courses