for i, v := range x {
fmt.Println(i, v)
}
i -- индекс_
package main
import "fmt"
import "unicode/utf8"
func main() {
fmt.Println(len("слово"))
fmt.Println(utf8.RuneCountInString("слово"))
}
180 be/3 root 0.00 B/s 1634.01 B/s 0.00 % 99.99 % [jbd2/vda1-8]