Код: Выделить всё
tup = (1, 2, 3, 4) # tuple
l = list(tup) # tuple to list
l.append(55) # appended in list
a = tuple(l) # list to tuple
print(a) # tuple (1,2,3,4,55)
Используются ли они по умолчанию?>
Подробнее здесь: https://stackoverflow.com/questions/798 ... -in-python