aboutsummaryrefslogtreecommitdiffstats
path: root/exercises/range/range2/main.go
blob: 23bfebbfc8f1b289a9e92e0d82f8506a3958440c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// range2
// Make me compile!
//
// I AM NOT DONE
package main

import "fmt"

func main() {
	phoneBook := map[string]string{
		"Ana":  "+01 101 102",
		"John": "+01 333 666",
	}

	for := range {
		fmt.Printf("%s has the %s phone\n", name, phone)
	}
}