当前位置:百科知识 > 知到聱牙诘曲答案

问题描述:

[多选] 已知下列代码:class Root:()total = 0 def()init()(self, v): self.()value = v Root.()total += 1 def show(self): print("self.()value:", self.()value) print("Root.()total:", Root.()total)r = Root(10)在上述代码后添加下述代码后会报错的有?()
A.rr = Root(3) B.Root.show() C.Root.show(r) D.r.show(self)
参考答案:查看
答案解析:
☆收藏

随机题目