結果 : while not empty list python