Sobes.tech
Junior — Senior

What will be displayed in the console when running example №28

livecode

Task condition

Determine what output will be obtained after running the following program:

import (
        "fmt"
        )

func main() {
        for i := 0; i < 5; i++{
        go func(){
            fmt.Println(i)
        }()
    }
}