結果 : how to print a method in python