Sign in
go
/
website
/
e7879e0f78ec3dbf8b9f42f3381d2a34a77fb423
/
.
/
_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)
}
}