πŸ“Š Python
Q. Which of the following is used to read a file in Python?
  • (A) file.read()
  • (B) file.open()
  • (C) file.input()
  • (D) file.get()
πŸ’¬ Discuss
βœ… Correct Answer: (A) file.read()

Explanation: read is used to read contents of a file.

Explanation by: Mr. Dubey
read is used to read contents of a file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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