Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Concatenation of Tuples | Tuple
course content

Conteúdo do Curso

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.

Tarefa

Consider the following tuples:

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

Tudo estava claro?

Seção 3. Capítulo 3
toggle bottom row
course content

Conteúdo do Curso

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.

Tarefa

Consider the following tuples:

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

Tudo estava claro?

Seção 3. Capítulo 3
toggle bottom row
some-alt