Search
 
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
Name
6+8 =