Result Size:
625 x 571
demo_string_replace.py:
a = "Hello, World!" print(a.replace("H", "J"))
x
a
=
"Hello, World!"
print
(
a
.
replace
(
"H"
,
"J"
))
C:\Users\My Name>python demo_string_replace.py
Jello, World!