Computer Science, asked by mrigankoghosh9930, 1 year ago

How to replace values of a Python dictionary?

Answers

Answered by Aagmansriva993
0

python python-3.x dictionary

I have a dictionary with 20 000 plus entries with at the moment simply the unique word and the number of times the word was used in the source text (Dante's Divine Comedy in Italian).

I would like to work through all entries replacing the value with an actual definition as I find them. Is there a simple way to iterate through the keywords that have as a value a number in order to replace (as I research the meaning)..

please mark me brainliest...

I also follow you...

Similar questions