4
QuizFill in Dropdown

Writing to a File

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

A file named "songs.txt" exists and has 70 lines of data. You open the file with the following line of code. aFile = open("games.txt", "w") You write three 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:3

A file named "songs.txt" exists and has 70 lines…