Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

replace all characters in a string python

>>> mystring = 'Hello World'
>>> mystring = '*'*len(mystring)
>>> print(mystring)
***********
 
PREVIOUS NEXT
Tagged: #replace #characters #string #python
ADD COMMENT
Topic
Name
5+9 =