結果 : how to access a function inside a class in python