DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to make a list with the same string in python
''' create a list by [] and multiply by repeat count ''' listOfStrings1 = ['Hi'] * 20
PREVIOUS
NEXT
Tagged:
#list
#string
#python
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit