課程
/后端開(kāi)發(fā)
/Python
/Python3 進(jìn)階教程(新版)
class Animal(object):? pass dog = Animal() cat = Animal() print(dog) print(cat) print(dog == cat)
2021-01-20
源自:Python3 進(jìn)階教程(新版) 2-2
正在回答
注意換行
class Animal(object):
? ? pass
dog = Animal()
cat = Animal()
print(dog)
print(cat)
print(dog == cat)
去他喵的python
舉報(bào)
學(xué)習(xí)函數(shù)式、模塊和面向?qū)ο缶幊蹋莆誔ython高級(jí)程序設(shè)計(jì)
2 回答還是顯示運(yùn)行失敗
3 回答為什么會(huì)運(yùn)行失敗
4 回答請(qǐng)問(wèn)為什么會(huì)運(yùn)行失敗呢
2 回答請(qǐng)問(wèn)為什么還是運(yùn)行失敗
3 回答請(qǐng)問(wèn)這個(gè)為什么會(huì)運(yùn)行失敗呢
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2021-01-21
注意換行
2022-05-26
class Animal(object):
? ? pass
dog = Animal()
cat = Animal()
print(dog)
print(cat)
print(dog == cat)
2021-03-28
去他喵的python