Q. What will happen if you try to open a file in 'x' mode that already exists?
β
Correct Answer: (C)
Raises FileExistsError
Explanation: 'x' mode creates a file and raises an error if it already exists.