結果 : how to redo a code in python