dictsstrings

Write word_counts(text) that returns a dict mapping each lowercase word to how many times it appears. Split on whitespace.

Guest mode · solve history stays on this device; code isn’t saved. Sign in to save future work