以下哪个代码是正确的打开一个文件准备读取该文件?(python中)
A、f=open("test.txt","read")
B、f=open("r","test.txt")
C、f=open("test.txt","r")
D、f=open("read","test.txt")
发布时间:2024-11-22 14:18:24
A、f=open("test.txt","read")
B、f=open("r","test.txt")
C、f=open("test.txt","r")
D、f=open("read","test.txt")