摘要: class AddressBook: def init(self): self.contacts = [] def add_contact(self, name, phone_number): """增加联系人""" self.contacts.append({'name': name, 'phon 阅读全文
posted @ 2024-04-12 17:17 MPP123 阅读(36) 评论(0) 推荐(0)