09 2021 档案
摘要:import xlrd import xlwt #读取excel文件 # hcz = 火车站 hcz = xlrd.open_workbook('D:\\pythontest\\火车站表1.xls')# 打开Excel文件 sheet = hcz.sheet_by_name('产品1') #通过ex
阅读全文
摘要:def f(x,l=[]): for i in range(x): l.append(i*i) print(l) f(2) f(3,[3,2,1]) f(3)结果: [0, 1] [3, 2, 1, 0, 1, 4] [0, 1, 0, 1, 4] def f(x,l=[]): for i in r
阅读全文

浙公网安备 33010602011771号