What will be the output of the following code:
string = "Hello, world!"
print(string.replace("o", "i"))
print(string.replace("o", "i"))
A. Helli, wirld!
B. Hell, wirld!
C. Hii
D. Hello, world!
Answer: Option C

Join The Discussion