Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 8, 2018 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/fd33eb40c4f88a04ff5193f9e3c1570e to your computer and use it in GitHub Desktop.
Save parzibyte/fd33eb40c4f88a04ff5193f9e3c1570e to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
numeros := [...]int {18, 28, 21, 96, 97}
for indice, _ := range numeros {
fmt.Printf("Estamos en el índice %d\n", indice)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment