1.

What is “Hello”.replace(“l”, “e”)?(a) Heeeo(b) Heelo(c) Heleo(d) NoneI have been asked this question in an internship interview.I'm obligated to ask this question of Strings topic in division Strings of Python

Answer» CORRECT OPTION is (a) Heeeo

Explanation: EXECUTE in SHELL to VERIFY.


Discussion

No Comment Found

Related InterviewSolutions