What is the current syntax of rename() a file?
(a) rename(current_file_name, new_file_name)
(b) rename(new_file_name, current_file_name,)
(c) rename(()(current_file_name, new_file_name))
(d) none of the mentioned
The question was posed to me during an internship interview.
My question is taken from Files topic in portion Regular Expressions and Files of Python