def printlist(a):
for i in a:
if type(i) is list:
printlist(i)
else:
print (i)
转载于:https://my.oschina.net/lantianbaiyun/blog/598824
def printlist(a):
for i in a:
if type(i) is list:
printlist(i)
else:
print (i)
转载于:https://my.oschina.net/lantianbaiyun/blog/598824