标签: python sorting
如何在[1]
get = ([5, 6, 4], [1], [2, 3]) after = ([1,2,3,4])
示例:
ul
如果不做复杂的事情,你怎么能这样做?
答案 0 :(得分:0)
复杂吗?:
get = ([5, 6, 4], [1], [2, 3]) after=[] for i in get: for j in i: after.append(j) after.sort() print(after)