DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
replace all characters in a string python
>>> mystring = 'Hello World' >>> mystring = '*'*len(mystring) >>> print(mystring) ***********
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#replace
#characters
#string
#python
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit