使用递归方法分解Python中多重嵌套列表 2015/06/15 13176 #Welcome to My blog #www.suzhengpeng.com def listPrint(listName): for fstItem in listName: if isinstance (fstItem,list): listPrint(fstItem) else:#注意缩进长度 print(fstItem) listMaa = ["abc",["ABC","BCD",["1","2","3"]]] listPrint(listMaa)