- 博客(2)
- 收藏
- 关注
原创 python入门
def __init__(self,name,score):#self必须位于第一个参数def say_score(self): #self必须位于第一个参数print("{0}的分数是: {1}".format(self.name,self.score))s1 = Student("高淇",18)
2025-06-09 00:03:03
887
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅