JOOI (as I don't know Python) is there a reason not to do just `...join(map(str, [majornumber, minornumber]))`? (of course your code is fine as it is)