面向对象编程猩球崛起 面向对象举例:**class Student():name =""def study(self):print(self.name,"要学习去… ")def eat(self):print(self.name,“要吃饭去…”)menkai=Student()menkai.name=“门凯”menkai.study()menkai.eat()cao=Student()cao.n... Other 2024-05-06 49 点赞 0 评论 74 浏览