19 lines
271 B
Markdown
19 lines
271 B
Markdown
# Word Count
|
|
|
|
Write a program that given a phrase can count the occurrences of each word in that phrase.
|
|
|
|
For example for the input `"olly olly in come free"`
|
|
|
|
```plain
|
|
olly: 2
|
|
in: 1
|
|
come: 1
|
|
free: 1
|
|
```
|
|
|
|
|
|
|
|
## Source
|
|
|
|
The golang tour [view source](http://tour.golang.org)
|