1 2 3 4 5 6 7 8 |
#!/usr/bin/env python : for i in (n, 1, -1): print "testing " + i # if i % 1000 == 0 : # return n print (60085147514 |
1 2 3 4 5 6 |
Traceback (most recent call last): File "./exo.py", line 8, in <module> print (600851475143) File "./exo.py", line 4, in prime for i in (n, 1, -1): OverflowError: () result has too many items |
Pastie
