【C601035】以下的代码的输出将是什么? 说出你的答案并解释 class Parent(object): x = 1 class Child1(Parent): pass class Child2(Parent): pass print Parent.x, Child1.x, Child2.x Child1.x = 2print Parent.x, Child1.x, Child2.x Parent.x = 3print Parent.x, Child1.x, Child2.x
黑白尘 1楼
哒哒哒1995那个日子 2楼
zeroflyyer 3楼
黑白尘 4楼
goodsleep 5楼
1 1 1
2 2 1
2 2 2
Try2179 6楼
梁轩豪 7楼
kusersn1e 8楼
年轻℡诠释梦想 9楼
以上代码的输出是:1 1 1、1 2 1、3 2 3
职业哈士奇 10楼
职业哈士奇 11楼
浊酒 12楼
woshizhu 13楼
杜建 14楼
guolinli4623 15楼
做题数5122
做题数1079
做题数908
做题数832
做题数799
做题数770
了解 畅学卡
手机端 学习