标签:type print highlight div def 知识 列表 pytho ==
lis = [2,3,"k",["qwe",20,["k1",["tt",3,"1"]],89],"ab","adv"] def p_list(lis): ‘‘‘打印列表中所有元素‘‘‘ for i in lis: if type(i)==list: p_list(i) else: print(i) p_list(lis)
标签:type print highlight div def 知识 列表 pytho ==
原文地址:https://www.cnblogs.com/shuimohei/p/10498874.html