题海让大学四年没有难题
白天模式登陆

题目详情

单选题 若文本文件 abc.txt中的内容如下: abcdef阅读下面的程序: file= open("abc.txt","r")s=file. readline ()s1= list(s)print(s1)上述程序执行的结果为( )

A. ['a','b','c','d', 'e', 'f', '\n']

B. ['abcdef]

C. ['abcdef\n']

D. ['a','b','c','d', 'e', 'f']

学科:Python程序设计

时间:2023-06-18 08:46:51

Copyright © 2022 津ICP备2021001502号