只要一行代码即可得到答案:
>>> s = '''双儿 洪七公 赵敏 赵敏 ...''' >>> max([(s.split().count(n),n) for n in s.split()])[1] '赵敏'