結果 : define a class within a class python