What can you deduce from the following statement? (Select two answers)
What can you deduce from the following statement? (Select two answers)
str = open(‘file.txt’, "rt")
A . str is a string read in from the file named file.txt
B . a newlina character translation will be performed during the reads
C . if file. txt does not exist, it will be created
D . the opened file cannot be written with the use of the str variable
Answer: A,D
Latest PCAP-31-03 Dumps Valid Version with 109 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments