Creating a Tuple in Python

Tuples can be created simply using parentheses. To do this, simply declare a variable and enclose its value in parentheses. Let's create an empty tuple:

pythontpl = ()

Now we can list the elements of a tuple inside parentheses:

pythontpl = ('a', 'b', 'c')

Tuples can contain elements of different types: strings, numbers, booleans, lists:

pythontpl1 = ('1', '2', '3')
tpl2 = (1, 2, 3)
tpl3 = (True, False)
tpl4 = (['a', 'b'], ['c', 'd'])
Задание 1

Given a variable:

pythontst = (12, 34, 45)

Tell me what type of data it is.

Задание 2

Given a variable:

pythontst = [1, 2, 3]

Tell me what type of data it is.

Задание 3

Given a variable:

pythontst = ([1, 2, 3], True, 'a', 'b')

Tell me what type of data it is.