Quiz · Maps · lesson 3 of 9
Quiz — v, ok := m[k]
What does the program print?
package main
import "fmt"
func main() {
m := map[string]int{"a": 0}
v, ok := m["a"]
w, ok2 := m["b"]
fmt.Println(v, ok, w, ok2)
}Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.