結果 : while list not empty python