1package main
2
3import "fmt"
4
5func main() {
6	a := [6]int{1, 2, 3, 4, 5, 6}
7	fmt.Println(a[:4])
8}
9
10// Output:
11// [1 2 3 4]
12