Guess the Output · #73 · 2026-06-16
What does this print?
Python ·Difficulty 3/3
How to play
Read the code snippet and pick the correct output from four choices. One shot — no take-backs. Press 1–4 or click to answer.
package main
import (
"fmt"
"sync"
)
func main() {
var wg sync.WaitGroup
for i := 0; i < 3; i++ {
wg.Add(1)
go func() {
defer wg.Done()
fmt.Print(i)
}()
}
wg.Wait()
}
Loading your progress...
Press 1 through 4, or tap a numbered choice, to answer. Back to hub