πŸ“Š Python
Q. Which method can be used to replace a substring in a string?
  • (A) change()
  • (B) edit()
  • (C) replace()
  • (D) update()
πŸ’¬ Discuss
βœ… Correct Answer: (C) replace()

Explanation: replace substitutes a specified phrase with another.

Explanation by: Mr. Dubey
replace substitutes a specified phrase with another.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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