結果 : python function if not none