結果 : python function return dict or none