Q. Which error is raised when trying to open a non-existent file in 'r' mode?
β
Correct Answer: (A)
FileNotFoundError
Explanation: Trying to read a non-existent file raises FileNotFoundError.