【单选题】在当前目录存在文本文件test.txt,内容是: Life is short, you need Python. Simple is better than complex. 执行下列语句输出得到的结果是以下哪一项? with open('test.txt', 'r+') as fp: fp.seek(15) print(fp.readline())
A.
Simple is better than complex
D.
Life is short, you need Python.
【单选题】在当前目录存在文本文件test.txt,内容是:Life is short, you need Python.Simple is better than complex.执行语句fp=open('test.txt','r+')fp.seek(15)printfp.readline()输出得到的结果是以下哪一项?
A.
Life is short, you need Python.
C.
Simple is better than complex.
【单选题】在当前目录存在文本文件 test.txt ,内容是: Life is short, you need Python. Simple is better than complex. 1. with open(‘test.txt’,’r+’) as fp; 2. fp.seek(15) 3. print(fp.readline())
B.
Life is short,you need Python
D.
Simple is better than complex
【简答题】在当前目录存在存在文本文件test.txt,内容是:Life is short, you need Python. is better than complex.执行如下语句:fp=open('test.txt','r+',0)fp.readline()fp.seek(10,1)print(fp.readline())
【单选题】在当前目录存在文本文件test.txt,内容是:Life is short, you need Python.Simple is better than complex.执行下列语句输出得到的结果是以下哪一项?withopen('test.txt','r+')asfp:fp.seek(15)print(fp.readline())
A.
Life is short, you need Python.
C.
Simple is better than complex.
【单选题】在当前目录存在文本文件test.txt,内容是: Life is short, you need Python. Simple is better than complex. 执行下列语句输出得到的结果是以下哪一项? with open('test.txt', 'r+') as fp: fp.seek(15) print(fp.readline())
B.
Life is short, you need Python.
D.
Simple is better than complex.
【单选题】在分光光度法中,应用朗伯-比尔定律进行定量分析时,应采用的入射光是
【简答题】在当前目录存在存在文本文件test.txt,内容是:Life is short, you need Python. is better than complex.执行如下语句:fp=open('test.txt','rb+',0)fp.readline()fp.seek(10,1)print(fp.readline())fp.close()