RosettaCodeData/Task/Interactive-programming/Go/interactive-programming.go

12 lines
151 B
Go
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
package main
import "fmt"
func f(s1, s2, sep string) string {
2016-12-05 22:15:40 +01:00
return s1 + sep + sep + s2
2013-04-10 21:29:02 -07:00
}
func main() {
fmt.Println(f("Rosetta", "Code", ":"))
}