20044031
2021-01-20 21:15
class Animal(object): pass dog = Animal() cat = Animal() print(dog) print(cat) print(dog == cat)
注意换行
class Animal(object):
pass
dog = Animal()
cat = Animal()
print(dog)
print(cat)
print(dog == cat)
去他喵的python
Python3 进阶教程(新版)
41910 学习 · 236 问题
相似问题