結果 : replace previous line python