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