join := []rune("ноль")
slc1 := []string{"раз","два","три"}
for i:=0; i<len(slc1); i++ {
append(join, []rune(slc1[i])...)
}
fmt.Println(join)
}
OUTPUT:
./str_compr.go:11:4: append(join, []rune(slc1[i])...) (value of type []rune) is not used
join = append(...)
join = append(join, []rune(slc1[i])...)
Обсуждают сегодня