結果 : can i define a class inside a function python