10872 . 单选题 Puls

执行以下Python代码后,输出的结果是?

with open('test.txt', 'w') as f:
    f.write('Hello')

with open('test.txt', 'a') as f:
    f.write('World')

with open('test.txt', 'r') as f:
    print(f.read())