DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
string replace in python
text
=
'ramkumar'
text
=
text
.
replace
(
"mku"
,
""
)
#'' is empty
print
(
text
)
ans
:
ramar
Source by datagy.io #
PREVIOUS
NEXT
Tagged:
#string
#replace
#python
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit