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
-
Notifications
You must be signed in to change notification settings - Fork 0
python学习代码,外加一些小应用包括UI界面、pygame、验证码、字符画、Excel、词云以及爬虫...
License
ParanoiaSYT/YUC-Study
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
python学习代码,外加一些小应用包括UI界面、pygame、验证码、字符画、Excel、词云以及爬虫...
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published