Q. Which method is used to retrieve the current working directory?
β
Correct Answer: (A)
getcwd()
Explanation: getcwd() returns the current working directory.