結果 : how to write memory efficient code in python