結果 : how to replace code in python