Alternative Tuple Syntax in Python
There is also an alternative syntax for writing tuples - without parentheses:
pythontpl = 'a', 'b', 'c'
However, this is not recommended because it makes it easy to confuse tuples with other types of objects in Python.
Задание 1
Given a variable:
pythontst = 1, 2, 3, 4
Tell me what type of data it is.
Задание 2
Given a variable:
pythontst = ['12', '34', '56', '78']
Tell me what type of data it is.
Задание 3
Given a variable:
pythontst = '1,2,3,4'
Tell me what type of data it is.