摘要: 如何count列表中字符出现的次数?可以将其生成一个字典。key是列表中的字符串,value是出现的次数 例如gen = [2, 3, 4, 5, 6, 7, 3, 4, 5, 6, 7, 8, 4, 5, 6, 7, 8, 9, 5, 6, 7, 8, 9, 10, 6, 7, 8, 9, 10, 阅读全文
posted @ 2018-06-24 16:59 史达林之剑 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 题目: Probably Dice Battle is full of randomnesses. You should observe randomness in a controlled setting to prepare for this inevitability. We'll start 阅读全文
posted @ 2018-06-24 16:00 史达林之剑 阅读(198) 评论(0) 推荐(0) 编辑