package main import ( "fmt" ) func main() { a := [][]int{ {0, 1, 2}, {3, 4, 5}, {6, 7, 8}, } for i := 0; i < len(a); i++ { for _, v := range a[i] { fmt.Printf("%v", v) } fmt.Println() } }