Junior — Senior
What output will program №34 produce
livecode
Task condition
Determine what text will be output to the console after executing the following program.
func main() {
num := make(chan int)
values := []int{1, 2, 3}
for _, v := range values {
go func() {
num <- v
}()
}
for _, = range values {
fmt.Println(<-num)
}
}