E
Eric Parry
Would you like to elaborate? exit() is supposed to take an int
parameter, but the author apparently didn't notice that. So perhaps you
got an exception of some sort. Change it to exit() or exit(0) and it
might solve the problem, depending on what the problem was.
No it doesn't. return = 0 is a syntax error in both Python 2.x and 3.x
But if you changed it to a valid return statement, then that's why it
doesn't stop on the first solution.
I think in the original it was exit(a). That did not work either.
I'll try the others.
Eric.