摘要: https://docs.python.org/zh-cn/3/library/re.html https://zhuanlan.zhihu.com/p/68014839 findall,search,sub,S python findall import re str = 'aabbabaabba 阅读全文
posted @ 2020-11-30 21:28 Alex0425 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 1、计算成绩 scores = {"baidu":32,"google":78,"weixin":95,"facebook":68,"aws":94,"ali":97} for k,v in scores.items(): if(v == max(scores.values())): print(k 阅读全文
posted @ 2020-11-30 08:36 Alex0425 阅读(91) 评论(0) 推荐(0) 编辑