摘要:
#实验六 with open('data6_1.txt','r',encoding='utf-8') as f: x=f.readlines() xx=[] for i in x: a=i.strip('\n').split('\t') xx.append(a) s=lambda xx: xx[2] 阅读全文
摘要:
#1111111111111111111111111111111111111111 x=list(range(10)) print('整数输出1:',end='') for i in x: print(i,end=' ') print('\n整数输出2:',end='') for i in x: p 阅读全文
摘要:
#text6 ss=[] w=1 while w<4: n=input('请输入你的愿望清单') ss.append(n) w+=1 print('{:-^50}'.format('我的愿望清单')) n=1 for s in ss: print(f'{n}.{s}') n+=1 x1=1.2 y1 阅读全文