43 02 07 14 47 22 36 17 27 03 10 44 34 38 18 30 22 38 32 29 15 24 31 43 05 44 12 10 39 07 19 36 14 25 27 26 43 21 04 49 22 36 38 46 31 17 10 32 d = {} for line in open('a.txt'): d[line] = d.get(line, 0) + 1 fd = open('b.txt', 'w') for k, v in d.items(): if v > 1: fd.write(k) fd.close() 数字, 怎么回事, line