06 2023 档案

摘要:实验一 class Account: #一个模拟银行账户的简单类 def __init__(self, name, account_number,initial_amount = 10): self._name = name self._card_no = account_number self._ 阅读全文
posted @ 2023-06-11 14:07 王响 阅读(29) 评论(0) 推荐(0)
摘要:with open('data6.csv','r',encoding='gbk')as f: data=list(f.readlines()) data=[i.strip('\n') for i in data ] import decimal decimal.getcontext().roundi 阅读全文
posted @ 2023-06-05 22:15 王响 阅读(31) 评论(0) 推荐(1)
摘要:任务1 from turtle import* def move(x,y): penup() goto(x,y) pendown() def draw(n,size=100): for i in range(n): fd(size) left(360/n) def main(): pensize(2 阅读全文
posted @ 2023-06-05 17:01 王响 阅读(23) 评论(0) 推荐(1)