結果 : dispatch function in python