下列Python代码的输出结果是?( )
class MyClass(): def __init__(self): self.x = 10 self.y = 20 def add(self): return self.x * self.y obj = MyClass() print(obj.add())
100
30
200
400