結果 : how to print class methods in python