Q. Which one of the following syntaxes is the correct syntax to read from a simple text file stored in ”d:\java.txt”?
β
Correct Answer: (A)
Infile = open(”d:\\java.txt”, ”r”)
You must be Logged in to update hint/solution