摘要: 代码 from collections import Counter ll=['1','1','2','3'] dic=dict(Counter(ll)) print(dic) print([k for k,v in dic.items() if v>=2]) 阅读全文
posted @ 2020-04-02 00:19 阿布_alone 阅读(557) 评论(0) 推荐(0) 编辑
摘要: 代码 from urllib.parse import quote,unquote,urlencode print(quote('https://www.cnblogs.com/?a=bc&d=f')) print(urlencode({'a':'b','b':'c'}))#https%3A//ww 阅读全文
posted @ 2020-04-02 00:14 阿布_alone 阅读(293) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2020-04-02 00:01 阿布_alone 阅读(4) 评论(0) 推荐(0) 编辑
TOP