赞
踩
>>> a=[1,2,3,(4,5,6)] >>> for i in a: ... if isinstance(i,tuple): ... for j in i: ... print(j) ... else: ... print(i) ... 1 2 3 4 5 6