Platforms
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?
0:2
Complete the code.
0:\n
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?
0:3
Did you find these answers helpful?
Reading a File
Searching Complex Data
String Formatting