for i in range(len(li)): if type(li[i])==list: for i in li[i]: print(i) else: print(li[i]) 转载于:https://www.cnblogs.com/yuhoucaihong/p/10304936.html