DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+3 =
Submit