結果 : python define a class inside a function