Sign in
go
/
website
/
57633b5ad712da004a947949f01b56932c3f649a
/
.
/
tour
/
content
/
moretypes
/
range-continued.go
blob: feae06bbe693ccaad7d9118ca7eb0edee65213eb [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func main() {
pow := make([]int, 10)
for i := range pow {
pow[i] = 1 << uint(i)
// == 2**i
}
for _, value := range pow {
fmt.Printf("%d\n", value)
}
}