freq = collections.Counter(b) if freq [k] < 5:
print(k) 此代码大多数打印小于5的字符 我尝试做的是,检查if at string from join at fly,如果在字符串的任何位置有重复的字符不超过x次,并只打印正确的字符串。问题是我尝试做什么都无关紧要,或者它打印
我想知道当我执行Find All时,如何防止notepad++输出重复的行。bbb bbb我把"aaa“作为搜索字符串,然后点击"Find All in Current Document”。那么输出将是这样的。行1出现了2次,因为字符串"aaa“在行1中匹配了2次。Search "aaa" (2 hits in 1 file)
new 2 (2