Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python multiply string

n = 5
string = "a"

output = string * n

print(output)

## Output:
# aaaaa
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #multiply #string
ADD COMMENT
Topic
Name
8+3 =