package main import "fmt" func main() { word := "programming" fmt.Println(word[len(word)-3:]) fmt.Println(len(word)) }