結果 : how to use pop and append in python