2
QuizFill in Dropdown

Writing to a File

Question 2 • Introduction to Computer Science B – 4-232

A file named "games.txt" exists and has 80 lines of data. You open the file with the following line of code. aFile = open("games.txt", "w") You write two lines to the file in the program. How many lines are in the file when you close your file?

Answer

Fill in Dropdown Answer:

0:2

Next
A file named "games.txt" exists and has 80 lines…