10 lines
146 B
Go
10 lines
146 B
Go
package main
|
|
|
|
func Repeat(character string) string {
|
|
var repeated string
|
|
for i := 0; i < 5; i++ {
|
|
repeated += character
|
|
}
|
|
return repeated
|
|
}
|