标签:def color nbsp 一个 div 语句 next flat 语法
nested = [[1,2],[3,4],[5]] def flatten(nested): for sublist in nested: for element in sublist: yield element for num in flatten(nested): print num
标签:def color nbsp 一个 div 语句 next flat 语法
原文地址:https://www.cnblogs.com/mujiujiu/p/9280162.html