結果 : python list pop if not empty