Answer:
2 lines
Step-by-step explanation:
The "w" flag will overwrite any content, so the existing 80 lines are lost.
Then, if you write two lines, there are two lines in the file.
You could argue that the final newline character causes a third line to be present, but logically, there are two lines.