結果 : write an algorithm to reverse the digits of a given number in python