結果 : store a function in a dictionary python