Получите длину кортежа в Python
numbers = (1, 2, 3, 4, 5)
length = len(numbers)
print('Length of the tuple is: ', length)
Glorious Gnat
numbers = (1, 2, 3, 4, 5)
length = len(numbers)
print('Length of the tuple is: ', length)