Go: Repeat string
s := strings.Repeat("da", 2) // "dada"
This corresponds to the string multiplication 'da'*2
in Python.
Comments
Be the first to comment!
s := strings.Repeat("da", 2) // "dada"
This corresponds to the string multiplication 'da'*2
in Python.