摘要:
task3.py 1 with open('data3.txt','r+', encoding='UTF-8') as f: 2 Z=[] 3 Y=[] 4 x=[] 5 for i in f: 6 x.append(i.strip('\n')) 7 newx=x[1:11] 8 for i in 阅读全文
摘要:
task1.py 1 x = list(range(10)) 2 print('整数输出1: ', end = '') 3 for i in x: 4 print(i, end=' ') 5 6 print('\n整数输出2: ', end = '') 7 for i in x: 8 print(f 阅读全文