πŸ“Š Python
Q. Which method writes a string to a file?
  • (A) append()
  • (B) put()
  • (C) write()
  • (D) insert()
πŸ’¬ Discuss
βœ… Correct Answer: (C) write()

Explanation: The write() method adds a string to the file.

Explanation by: Mr. Dubey
The write() method adds a string to the file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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