結果 : while dict not empty python