結果 : can you define a class within a function in python