changeset 6:521bd734e291

#37 termination missing
author Dominic Cleal <dominic@computerkb.co.uk>
date Mon, 01 Dec 2008 12:44:47 +0000
parents d1dcb923476e
children ba09b2802674
files problem37.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/problem37.py	Mon Dec 01 12:44:21 2008 +0000
+++ b/problem37.py	Mon Dec 01 12:44:47 2008 +0000
@@ -27,5 +27,6 @@
 			tr.append(i)
 			if len(tr) == 11:
 				print "Eleven found, sum = %d" % (sum(tr))
+				exit(0)
 	i += 2