結果 : how to call a method within a method python