スキル問題1 / 20
出力予測初級

次のコードの出力は?

nums := []int{2, 4, 6}
sum := 0
for _, n := range nums {
    sum += n
}
fmt.Println(sum)
14 でも選べます