最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

Python

crifan 3773浏览 0评论

添加Python相关的内容。

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

网友最新评论 (1)

  1. #------------------------------------------------------------------------------ # remove overlapped item in the list def uniqueList(old_list): newList = [] for x in old_list: if x not in newList : newList.append(x) return newList 这个方法不是很好呀 old,new new = [old[i] for i in roldnge(len(old)) if old[i] not in old[:i]] 一行搞定
    passer11年前 (2013-06-28)回复
68 queries in 0.126 seconds, using 21.83MB memory