摘要: 问题一:以下的代码的输出将是什么? 说出你的答案并解释。 class Parent(object): x = 1 class Child1(Parent): pass class Child2(Parent): pass print Parent.x, Child1.x, Child2.x Chil 阅读全文
posted @ 2016-11-09 23:55 淋哥 阅读(1470) 评论(0) 推荐(0)