CodePlay ?

Home › Lists & Words › 7 / 7

✍️ Write

Tally the words

Finish tally(words) so it returns a dict from each word to how many times it appears. tally(["go", "stop", "go"]) is {"go": 2, "stop": 1}.

Loading…