以下程序输出到文件textcsv里的结果是: fo = open(“textcsv”,‘w’) x = [90,87,93] z = [] for y in x: z.append(str(y)) fo.write(","join(z)) fo.close()
以下程序输出到文件textcsv里的结果是: fo = open(“textcsv”,‘w’) x = [90,87,93] z = [] for y in x: z.append(str(y)) fo.write(","join(z)) fo.close()
以下程序输出到文件textcsv里的结果是: fo=open(“textcsv”,‘w’) x=[90,87,93] z=[] foryinx: z.append(str(y)) fo.write(","join(z)) fo.close() A: [90,87,93] B: 90,87,93 C: ‘[90,87,93]’ D: ‘90,87,93’
以下程序输出到文件textcsv里的结果是: fo=open(“textcsv”,‘w’) x=[90,87,93] z=[] foryinx: z.append(str(y)) fo.write(","join(z)) fo.close() A: [90,87,93] B: 90,87,93 C: ‘[90,87,93]’ D: ‘90,87,93’
1