摘要: 参考: https://docs.python.org/zh-cn/3/library/collections.html#collections.Counter https://blog.csdn.net/sinat_28576553/article/details/99131954 强烈推荐 ht 阅读全文
posted @ 2022-04-05 12:43 麦克斯的园丁 阅读(80) 评论(0) 推荐(0)
摘要: ord() 函数是 chr() 函数(对于 8 位的 ASCII 字符串)的配对函数, 它以一个字符串(Unicode 字符)作为参数,返回对应的 ASCII 数值,或者 Unicode 数值 >>>ord('a') 97 >>> ord('€') 8364 >>> 阅读全文
posted @ 2022-04-05 12:36 麦克斯的园丁 阅读(317) 评论(0) 推荐(0)