結果 : inverted number pattern in python