結果 : append if not none python