Q. To read the entire remaining contents of the file as a string from a file object infile, we use ____________ (Solved)
1. infile.readall()
2. infile.read()
3. infile.readlines()
4. infile.read(all)
- b. infile.read()
1. infile.readall()
2. infile.read()
3. infile.readlines()
4. infile.read(all)