結果 : python call function depending on variable