Q. Which function is used to check if a file is writable?
β
Correct Answer: (A)
is_writable()
Explanation: is_writable() returns true if the file is writable.