package main
import "fmt"
var x = []int{2: 5, 6, 0: 7}
func main() {
    fmt.Printf("%+v",x) // [7 0 5 6]
    for index, value := range x {
     fmt.Printf("Index: %d  Value: %d\n", index, value)
    }
}