DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python replace letters in string
my_text
=
'Aello world'
my_text
=
my_text
.
replace
(
my_text
[
0
]
,
'H'
)
print
(
my_text
)
PREVIOUS
NEXT
Tagged:
#python
#replace
#letters
#string
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit