結果 : how to return from a method in python