以下程序运行结果为?classA(object):()def()init()(self,v):()self.value=v+10()a=A(10)print(a.value)()
6 查阅
以下程序运行结果为?classA(object):()def()init()(self,v):()self.value=v+10()a=A(10)print(a.value)()
A.10
B.20
C.v+10
D.错误
参考答案: