course content

Course Content

Introduction to Python

ConcatenationConcatenation

Let's learn the concatenation. This operation simply connects two strings into one. To concatenate two strings in Python, use the + operator (like in number addition).

Note that concatenation will not make additional blank spaces between addends.

For example, we can 'connect' words with the article.

question-icon

What will the following code return after execution?

Select the correct answer

Section 2.

Chapter 11