πŸ“Š Python
Q. Which method reads the entire content of a file at once?
  • (A) readline()
  • (B) readlines()
  • (C) read()
  • (D) fetch()
πŸ’¬ Discuss
βœ… Correct Answer: (C) read()

Explanation: The read() method returns the full content of the file as a single string.

Explanation by: Mr. Dubey
The read() method returns the full content of the file as a single string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
77
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate