Q. What is the correct way to open a file for reading in Python?
β
Correct Answer: (A)
open('file.txt', 'r')
Explanation: The `'r'` mode is used to open a file in read-only mode. `open('file.txt')` also defaults to read mode.