运行下面代码的正确结果是?( )
with open("myfile.txt", "w") as out_file:
out_file.write("This is my first Python program.")
with open("myfile.txt", "r") as in_file:
myfile = in_file.read()
print(myfile)
其中 myfile.txt 文件内容如下:
Hello World!
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析