RosettaCodeData/Task/Repeat-a-string/Go/repeat-a-string-1.go
2023-07-01 13:44:08 -04:00

1 line
64 B
Go

fmt.Println(strings.Repeat("ha", 5)) // ==> "hahahahaha"