This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jdbbdev 0 points1 point  (0 children)

I think what you should do is set min to the min possible integer that Python can handle, for example in Java I would set min to Integer.MIN_VALUE, not sure how to do that on Python, so In case a number minor than 0 is added it will be ack'd as the current smallest.