結果 : how to execute a method in python