πŸ“Š Python
Q. What is the output of the following program :
Code:
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

πŸ‘οΈ
204
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Shivam
Publisher
πŸ“ˆ
92%
Success Rate