Previous
Iteration
4 / 5
Next
Dictionaries
Hint
In the code below, the input string s
is split into a list of all the words in s
, separated by spaces.
Starting with an empty dictionary, count how many times a word occurs in words
.
Print the resulting dictionary.
Help
Solve
Reset
Test results
Test result #
Expected output
Your output