Multiple Choice
What command is used to open a file named rainfall.txt for reading?
A) r.open("rainfall.txt")
B) rainfall.txt.open() ;
C) open("rainfall.txt", "w")
D) open("rainfall.txt", "r")
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q13: The read(n) method will read and return
Q14: What is an infinite loop?
Q15: What statement is used to close a
Q16: The _ method returns the contents of
Q17: How would you use a for loop
Q19: Describe the format of a CSV file.
Q20: You must have more than one for
Q21: Using JSON, data is formatted most like
Q22: How is the newline character represented in
Q23: What string method is used to format