摘要:
1.实验任务1 1 class Account: 2 def __init__(self,name,account_number,initial_amount = 10): 3 self._name = name 4 self._card_no = account_number 5 self._ba 阅读全文
posted @ 2023-06-14 00:20
Wangchengxu
阅读(22)
评论(0)
推荐(0)
摘要:
1.实验任务1 task1_1.py 1 from turtle import * 2 3 def move(x,y): 4 penup() 5 goto(x,y) 6 pendown() 7 8 def draw(n,size = 100): 9 for i in range(n): 10 fd( 阅读全文
posted @ 2023-06-11 22:41
Wangchengxu
阅读(21)
评论(0)
推荐(0)
摘要:
实验任务6 task6.py 1 with open('data6.csv','r',encoding='gbk') as f: 2 data1 = f.read().split('\n') 3 del data1[0] 4 print('原始数据:') 5 print(data1) 6 7 for 阅读全文
posted @ 2023-06-06 20:36
Wangchengxu
阅读(29)
评论(0)
推荐(0)
浙公网安备 33010602011771号