yadianna 发表于 2017-4-25 10:22:47

Python Challenge (level 3)

URI: http://www.pythonchallenge.com/pc/def/equality.html
说明:
title中提示使用正则re,页面显示两侧被3个(且只为3个)大写字母包围的小写字母    page source中有待处理的数据
解题方法:

import re
data = ''' ''' # 页面中的数据
print "".join(re.findall("[^A-Z]+{3}(){3}[^A-Z]+", data))


过关答案:
linkedlist
页: [1]
查看完整版本: Python Challenge (level 3)