class Book(object):
def __init__(self,name,author,atate=1):
self.name = name
self.author = author
self.state =atate
def __str__(self):
return "书名:{} 作者:{} 状态:{}".format(self.name,self.author,self.state)
class BookManage(object):
books = list()
def start(self):
self.books.append(Book("java","山客"
python图书管理系统
最新推荐文章于 2022-11-11 18:26:33 发布

最低0.47元/天 解锁文章
4253

被折叠的 条评论
为什么被折叠?



