你能展平这样的元组吗:
(42, (23, (22, (17, []))))
成为所有元素的一个元组:
(42,23,22,17)
?
python tuples flatten
flatten ×1
python ×1
tuples ×1