def merge(l1,l2): final=[] #对l1,l2进行排序 l1 = sorted(l1) l2 = sorted(l2) while l1 and l2: if l1[0]<=l2[0]: final.append(l1.pop(0)) else: final.append(l2.pop(0)) return final+l1+l2
网友216.*.*.226[Seattle]2022-06-30 05:19
网友54.*.*.91[法国]2022-06-30 05:11
网友157.*.*.144[Redmond]2022-06-30 05:00
网友220.*.*.165[北京]2022-06-30 04:57
发表评论
亲~ 评论内容是必须的哟! o(∩_∩)o
昵称
邮箱
主页
评论