Sign in
go
/
website
/
07287109038cbabce9bbb9e132edc3434768bd45
/
.
/
_content
/
tour
/
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)
}
}