阅读下面代码,输出结果是什么? class grandfather: def speak(self): print("xiaobai") class father(grandfather): pass class son(father): pass class son2(grandfather): pass class myclass(son, son2): pass obj = myclass() obj.speak()
A.
son
B.
xiaobai
C.
son2
D.
myclass
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】Task 2 Listen to the dialogue once and answer the questions.