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]