course content

Course Content

Python Data Structures

Concatenation of Tuples Concatenation of Tuples

In Python, you can concatenate tuples. Concatenating tuples means creating a new tuple by joining two or more existing tuples. You achieve this using the + operator. Let's dive into an example.


Consider the following tuples:

Your goal is to create a third tuple by combining the above two, which should look like:

Everything was clear?

Section 3. Chapter 3
toggle bottom row