摘要:
如何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, 阅读全文
摘要:
题目: Probably Dice Battle is full of randomnesses. You should observe randomness in a controlled setting to prepare for this inevitability. We'll start 阅读全文