πŸ“Š Problem Solving and Python Programming
Q. Which function is used to read all the characters?
  • (A) read()
  • (B) readcharacters()
  • (C) readall()
  • (D) readchar()
πŸ’¬ Discuss
βœ… Correct Answer: (A) read()

Explanation: the read function reads all characters fh = open(“filename”, “r”) content = fh.read().


Explanation by: Mr. Dubey
the read function reads all characters fh = open(“filename”, “r”) content = fh.read().

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
256
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate