Q. Which of the following is used to read a file in Python?
β
Correct Answer: (A)
file.read()
Explanation: read is used to read contents of a file.