Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python generate string of length

string_val = "x" * 10 # generate a string of 10 x
print(string_val) # >> xxxxxxxxxx
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #generate #string #length
ADD COMMENT
Topic
Name
7+3 =