One small letter, surrounded by EXACTLY three big bodyguards on each of its sides.
原始字符串
===== 解答 =====
import re
a = "above string"
if __name__ == "__main__":
a = a.strip()
patt = """[a-z][A-Z]{3}([a-z])[A-Z]{3}[a-z]"""
all = re.findall(patt, a)
print "".join(all)
得到的结果为:linkedlist
那么下一个题目的地址是: http://www.pythonchallenge.com/pc/def/linkedlist.html