The answer is A.
In Python, if test.txt does not exists then opening it with mode 'w' will create new empty file.
5.7m questions
7.4m answers