結果 : map string to function python