Menu
Coddy logo textTech

What is concatenation?

Lesson 9 of 19 in Coddy's Into the Past || Complete Beginner for Python Strings course.

Concatenation is the programming term for adding 2 or more string together.  With concatenation you use the + sign to achieve this operation

Example:

"out" + "law" --> "outlaw"

"what" + "so" + "ever" --> "whatsoever"

challenge icon

Challenge

Easy

Now run the code that is given to you in the code editor and see for yourself

Try it yourself

def combine(s1,s2):
    return s1 + s2
    

All lessons in Into the Past || Complete Beginner for Python Strings