05 2021 档案

摘要:task1 class Account: '''一个模拟银行账户的简单类''' def __init__(self, name, account_number, initial_amount): # 构造新账 户 self._name = name self._card_no = account_n 阅读全文
posted @ 2021-05-30 19:18 玮光溢彩 阅读(81) 评论(1) 推荐(0)
摘要:任务6.with open('data6_1.txt','r',encoding='utf-8') as f: with open('data6-2.txt ','w',encoding='utf-8') as m: a = f.readlines() list1 = [] for line in 阅读全文
posted @ 2021-05-16 20:35 玮光溢彩 阅读(88) 评论(1) 推荐(0)