結果 : how to reverse an integer in python using for loop