2010-02-11 Problem 13 Python Project Euler print str(sum([int(p.rstrip()) for p in open('13.txt')]))[0:10] 今回もテキストにコピーしました.なんかそのままコピーだと改行が悪さするんだよねぇ.