結果 : python define function outside class