11.
To open a file c:\scores.txt for appending data, we use . . . . . . . .

14.
To open a file c:\scores.txt for writing, we use . . . . . . . .

15.
Which of the following statements are true?

19.
What is the output of the following code:
with open('data.txt', 'w') as file:
file.write('Hello, world!')

20.
What will be the output of the following code:
with open('data.txt', 'r') as file:
lines = file.readlines()
print(len(lines))