結果 : call function based on variable python