class Student:
    def __init__(self,name,score):
        self.name = name
        self.score = score
    def show_score(self):         #实例方法 
        print(self.name,"的分数是：",self.score)
s1 = Student("张三",89)
s2 = Student("李四",78)
s1.show_score()
s2.show_score()
