結果 : python loop if not none