Commit 29bb1d90 authored by Taddeus Kroes's avatar Taddeus Kroes

Fixed error in 50

parent e3869856
...@@ -14,7 +14,7 @@ def maxprime(n): ...@@ -14,7 +14,7 @@ def maxprime(n):
s = sum(conseq) s = sum(conseq)
if s >= 1000000: if s >= 1000000:
return maxp break
if s in primes[start + maxlen:]: if s in primes[start + maxlen:]:
maxlen = end - start maxlen = end - start
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment