题库首页 › 青少年软件编程(Python) › 题目 16583

在Python中,以下代码的执行结果是?( ) with open('test.txt', 'w+') as f: f.write('HelloWorld') f.seek(5) print(f.read(2))

A:He
B:Wo
C:or
D:报错

正确答案:B

试卷来源:202509 青少年软件编程等级考试Python六级真题

本卷相关题目

在线做题 同科目题库