class LoveStudy:
youheart=[]
def __init__(self):
print('学习使我快乐!')
def learn(self,*items):
yourheart.append(item)
def exercise(self):
print("I love study!")
def show(self):
for each in yourheart:
print(each)
lovestudy=LoveStudy()
lovestudy.learn('study','happy','fun')
lovestudy.exercise
lovestudy.show