in reply to Re^2: Weird behavior of int()
in thread Weird behavior of int()

what is the point of the +0 ?

That makes no sense for this usage because int() will do all that is needed. The +0 trick can be used to eliminate leading zeroes, i.e. 006 -> 6. I sometimes translate between formats with and without leading zeroes.