Combine Strings using + and , in Python

Python: Print Strings | 1

We use + sign to concatenate two strings together. Another way to join strings is with a comma (,).

When we use comma, we can find the strings come-up with a bit of a space . The space is because of a comma we used in the code

pythonStringplusnComma.png

When to use?

If we want to combine strings along with numbers, we can use comma to add a space implicitly.

image.png