結果 : python return type dict or none