πŸ“Š Python
Q. To read the entire remaining contents of the file as a string from a file object infile, we use
  • (A) infile.read(2)
  • (B) infile.read()
  • (C) infile.readline()
  • (D) infile.readlines()
πŸ’¬ Discuss
βœ… Correct Answer: (B) infile.read()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
267
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
87%
Success Rate