結果 : python iterate if not none