Q. What is the output of the following program : print 'abcefd'.replace('cd', '12')

  • (A) ab1ef2
  • (B) abcefd
  • (C) ab1efd
  • (D) ab12ed2
πŸ’¬ Discuss
βœ… Correct Answer: (B) abcefd

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
124
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
98%
Success Rate