RosettaCodeData/Task/Binary-strings/Python/binary-strings-8.py
2023-07-01 11:58:00 -04:00

3 lines
75 B
Python

v1 = "hello world"
v2 = v1.replace("l", "L")
print v2 # prints heLLo worLd