摘要:
代码 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]) 阅读全文
摘要:
代码 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 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文