20.8k views
0 votes
Finish the code to open a file to retrieve its contents.

import csv
inFile = open('pets.txt','___')

1 Answer

2 votes

Answer:

import csv

inFile = open('pets.txt','r')

User Jasal
by
3.0k points