Q. Which function checks if a file exists?
β
Correct Answer: (C)
os.path.exists()
Explanation: os.path.exists() returns True if the file exists.